摘要: 使用List对其进行排序 using System;using System.Collections.Generic;using System.Text; namespace ConsoleApplication4{ class Program { static void Main(string[] args) { Dictionary<string, string> dic = new Dictionary<string, string>(); dic.Add("Arraymin", "c:\\demo\\min.xsl"); 阅读全文
posted @ 2012-06-01 18:00 秦岭过客 阅读(502) 评论(0) 推荐(0) 编辑
摘要: List排序 转发:http://blog.csdn.net/jianxin160/article/details/6092510 摘要:在面向对象开发过程中我们经常将一组对象放到一个特定集合中,此时我们通常使用泛型集合来存放,常见的如:List 、Dictionary等。在使用这些泛型集合时我们有时需要对其进行排序,下面我们就一块看一下List如何进行排序(像Dictionary也有其相 应的排序方式,例如说... 阅读全文
posted @ 2012-06-01 10:04 秦岭过客 阅读(647) 评论(0) 推荐(1) 编辑