Hello guys!
I've a strange situation..
I have to fill a list with all classes defined in a particular
namespace..
I have to add all class defined in that namespace (there are many
classes..)
So instead to make
list.Add(new class1());
list.Add(new class2());
....
Is it possible to write
foreach (class in "MyProject.ClassesToAdd")
list.Add(classCostructor(class));
where "MyProject.ClassesToAdd" is a namespace?
thank you very much!
Giojo