2012年1月30日
摘要: using System;using System.Collections;namespace RandomDemo{ class Program { static void Main(string[] args) { Hashtable ht0 = new Hashtable(); for (int i = 0; i < 6; i++) { do { Random rnd = new Random((unchecked((int)(DateTime.Now.Ticks)))); int tmp = rnd.Next(0, 100); if (!ht0.ContainsValue(tmp 阅读全文
posted @ 2012-01-30 10:52 Lucien.Bao 阅读(1039) 评论(0) 推荐(0) 编辑