Can I use a string to type a Templated method in C#?
I would like to do something like this (Juste an example code)
string str = "MyProject.MyType";
dynamic obj = jsonObject.ToObject<str>();
I tried to use Type.GetType()
to get the type from my string, but it doesn't work too.