11 2007 档案

摘要:using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace GPSFileMonitor { public class LogWirter { /**//// /// 事件源名称 ///... 阅读全文
posted @ 2007-11-28 11:15 永不言败 阅读(1804) 评论(0) 推荐(1)
摘要:Hashtable本身并没有排序功能,相对来说,它的主要优点在于快速查找。 但有的时候我们也需要对Hashtable里面的元素进行排序,这就需要变通的方法来实现。 大家都知道:ArrayList它有一个Sort()方法,可以将里面的元素进行排序,试想如果将Hashtable里面的元素导入到ArrayList里面,然后再进行排序,这倒是一个不错的想法,现在我们加以实现: using Syste... 阅读全文
posted @ 2007-11-11 13:26 永不言败 阅读(970) 评论(0) 推荐(0)