标签:
string test="5555.555"; int test0 = int.Parse(test); int test1 = 0; int.TryParse(test, out test1); int test2 = Convert.ToInt32(test); int test3= (int)double.Parse(test);不明觉厉
C# 强制类型转换
原文地址:http://www.cnblogs.com/tom-cat/p/4273928.html