字符串转换成枚举值
public enum eOutputType
{
None=0,天才=1
}
eOutputType tmp = (eOutputType)(Enum.Parse(typeof(eOutputType), "天才");
转载于:https://www.cnblogs.com/ClarkChan/archive/2007/08/26/870365.html
转载于:https://www.cnblogs.com/ClarkChan/archive/2007/08/26/870365.html