Dear Friends,
I have an array of strings:
"NS1.MyClass", "NS2.MyClass",
"NS3.MyClass"
and I have to write the code to do the following for each
value in the
array
NS1.MyClass myclass = new NS1.MyClass();
NS2.MyClass myclass = new NS2.MyClass();
NS3.MyClass myclass = new NS3.MyClass();
I suppose I need reflection... can you help me with some
code please?
Thank you very much,
best regards
Nightfall
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---
|