摘要: 代码:1 string curAppPath = System.IO.Directory.GetParent(System.Environment.CurrentDirectory).Parent.FullName; 首先通过 System.Environment.CurrentDirecto... 阅读全文
posted @ 2014-10-22 18:54 wonkju 阅读(1291) 评论(0) 推荐(1)
摘要: Dictionary是不能进行排序的,即使它的扩展方法中有Enumerable.OrderBy方法. 使用有序字典,可以使用 SortedList或 SortedDictionary.若没有排序,可以使用 Enumerable.OrderBy方法.如 1 public static Sorte... 阅读全文
posted @ 2014-10-22 12:40 wonkju 阅读(185) 评论(0) 推荐(0)
摘要: 我写这个工具,主要是多次在将自己的代码和别人代码做对比时,不想繁琐地用眼看他设置的和自己设置的哪里不一样. 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 ... 阅读全文
posted @ 2014-10-22 01:42 wonkju 阅读(453) 评论(0) 推荐(0)