C
Chad Z. Hower aka Kudzu
I need to store a list of classes, not the instances of the classes. I had
planned to use an array, but can use a collection or some other form if more
appropriate.
The problem I am having is that I cannot find the C# syntax I need to
reference a class type.
public <class type>[] PowerTour = new <class type>[] {form1, form2};
Then later I will access this to get a list of classes which I will then
create with a call to new.
In Delphi you can do this with the "class of" construct. How can I do this in
C#?
planned to use an array, but can use a collection or some other form if more
appropriate.
The problem I am having is that I cannot find the C# syntax I need to
reference a class type.
public <class type>[] PowerTour = new <class type>[] {form1, form2};
Then later I will access this to get a list of classes which I will then
create with a call to new.
In Delphi you can do this with the "class of" construct. How can I do this in
C#?