TypeCode To Type

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

你可能感兴趣的:(TypeCode To Type)