Hello All
This might be a dumb question but I am having problems defining a data member

Using .net 3.5

Here is my example, any help would be wonderful.

Class1:
class Class1
{
private static bool Class1Active = false;
}
Class2:
class Class2
{
private static bool Class2Active = false;
}


My Program:

internal static class MyProg
{
// This is where I need to replace XXX with something Gerneric
internal static XXX MyClass;

internal static void Initialize()
{
If (True)
{
MyClass = new Class1;
}
Else
{
MyClass = new Class2;

}
}
}