摘要:
1 partial class Test 2 { 3 public string str; 4 public void get() 5 { 6 7 } 8 } 9 10 partial class Test11 {12 public int i;13 public void getInt() 14 {15 16 }17 }... 阅读全文
摘要:
1 Hashtable hashtable = new Hashtable(); 2 Random rm = new Random(); 3 int RmNum = 5; //随机数个数 4 for (int i = 0; hashtable.Count < RmNum; i++) 5 { 6 int nValue = rm.Next(-5,5);//随机数范围 7 if (!hashtable.ContainsValue(nVal... 阅读全文