日期:2014-05-18  浏览次数:21082 次

int.parse方法具体是怎么实现的?
如题
int.parse方法具体是怎么实现的?

------解决方案--------------------
int.Parse内部的具体实现

C# code

public static int Parse(string s)
{
    return System.Number.ParseInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo);
}