I have class name in string. Example
string nameClass = "MyClass";
I need convert this string to TYPE. Example
List<here i need get class type from string> ListMyClass = new List<>....
I have reference so when i write List it is correct but i need dynamicaly change Type of List (i need it for method but principle is same)
But i dont need create Instance of List. I have method exampel Write(type t) and i need change TYPE from string value.
I try write what i need exactly.
I have EventAggregator. EA subsribe method according to type..so when i publish(string) a i need subsribe Method(metoda)...I have many class for Publish and i need dynamicaly change subsribe method type..i have type in xml file, so i get name of class in string "Class1" and i need told to subsribe that type is Class1....sorry for my english.