摘要: /// /// 汉字转拼音类/// using System.Text.RegularExpressions;public class Hz2Py{ private static int[] pyValue = new int[] { ... 阅读全文
posted @ 2015-02-04 14:11 Varorbc 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1.使用string.Empty或null不使用“”2.很多时候,我们在选择循环的时候,会考虑用那个循环好一点,这个好一点就是指效果高一点!今天我对于for, foreach循环做了个性能测试,测试代码如下:// Performance test of for loop. private void ... 阅读全文
posted @ 2015-02-04 10:09 Varorbc 阅读(169) 评论(0) 推荐(0) 编辑