List Info

Thread: C-Sharp (C#) Group: Easy Reflection




C-Sharp (C#) Group: Easy Reflection
country flaguser name
United States
2007-09-11 05:47:38
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_Sharpgooglegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribegooglegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )