摘要:
以下两点为自己总结,并且已经经过了验证。1,Convert.ToInt32()被重写19次,可以满足不同的参数需要 int.Parse()被重写4次,只能转化string2,参数为null时 Convert.ToInt32()返回0 int.Parse()ArgumentNullException.Value cannot be null.Parameter name: String 参数中包含字母时包括12ab这种情况,都抛出FormatExcepton异常,Input string was not in a correct format.所以在使用的时候假如用Convert.ToInt32 阅读全文
posted @ 2011-02-22 13:39
Penny●zheng
阅读(412)
评论(0)
推荐(0)
浙公网安备 33010602011771号