public static Type TypeCodeToType(TypeCode tc) { return Type.GetType("System." + Enum.GetName(typeof(TypeCode), tc)); }