This code:
Type.GetType(\"namespace.a.b.ClassName\")
returns null.
null
and I have in the usings:
using nam
When I have only the class name I use this:
Type obj = AppDomain.CurrentDomain.GetAssemblies().SelectMany(t => t.GetTypes()).Where(t => String.Equals(t.Name, _viewModelName, StringComparison.Ordinal)).First();