字符串类型的自动转换与识别
摘要:
字符串处理是我们最常用的功能,尤其是与其它类型的相互转也会经常使用。 通常情况下我们需要String类型转其它的基础类型。这时我们最常用的是Convert类。 比如: 1 Convert.ToInt32("23"); 2 Convert.ToDouble("3.4"); 3 Convert.ToDa 阅读全文
posted @ 2017-03-01 14:26 老禄 阅读(1431) 评论(0) 推荐(0) 编辑
posted @ 2017-03-01 14:26 老禄 阅读(1431) 评论(0) 推荐(0) 编辑
posted @ 2017-03-01 12:24 老禄 阅读(201) 评论(0) 推荐(0) 编辑