摘要: 对于字符串列表,List<string> strList = new List<string>(new string[] { "1", "10", "2"}),默认排序为:1,10,2如果想得到1,2,10这样序列的排序结果,目前我所知道的有如下几种方法:1.自定义比较器代码2.委托[代码]3.Linq[代码] 阅读全文
posted @ 2010-09-26 15:07 cnbwang 阅读(481) 评论(4) 推荐(1) 编辑