Type.GetType(string typeName) returns null !?

Type.GetType gives us the ability to get type back from a string. We pass a well-written type name string to it, and expect it return that type. Sometimes, to your surprise, it returns null. For example, Type.GetType(“System.Data.SqlClient.SqlException”). If the assembly name is specified in the typeName string, Type.GetType() will search inside this assembly only; otherwise,…

7