I have a console program that starts multiple instances of an application program App. It launches each instance of App via Application.Run.
The problem I'm having is that App includes static variables and these are being shared between instances. I need to isolate them so that each instance uses its own set of static variables.
Ideas? I'm using C# 4.0 / VS 2010.