.NET - how to find type by name?
Posted on 2012-03-10
I need an ability to find type by name.
At the moment I'm using following code:
Type t = Type.GetType("System.Data.DataTable", false, true);
but it always returns null! :-(
The application which is run this code has a reference to System.Data.dll, so I assume it must be able to find a "System.Data.DataTable".