public static Type GetType(String typeName) { Type type = null; if ( !String.IsNullOrEmpty(typeName) ) { type = Type.GetType(typeName, true); } return type; }