没看到.net framework中有这样的功能, 懒得到处找了, 索性花点时间自己写一个 /* * Created by SharpDevelop. * Date: 2013/6/24 * User: sliencer * Time: 21:54 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using System.Collections.G…