TryParse比Parse好
摘要:
1 double re; 2 long ticks; 3 4 Stopwatch sw = Stopwatch.StartNew(); 5 for (int i = 0; i < 1000; i++) 6 { 7 try 8 { 9 re = double.Parse("123");10 }11 catch (Excepti... 阅读全文
posted @ 2013-04-29 11:23 c#学习(开发) 阅读(222) 评论(0) 推荐(0) 编辑