摘要:
遍历 HashTable DictionaryView Code 1 Dictionary<int, string> food = new Dictionary<int, string>(); // HashTable<int, string> food = new HashTable<int, string>(); 2 food.Add(1, "A"); 3 food.Add(2, "B"); 4 IDictionaryEnumerator myEnumerator=food.GetEnumerator( 阅读全文
摘要:
打开Excel->工具->宏->Viaual Basic编辑器在弹出来的窗口中对着VBAproject点右键->插入->模块下面会出现一个名为"模块1",点击在右边的空白栏中粘贴以下内容:Function getpychar(char)tmp = 65536 + Asc(char)If (tmp >= 45217 And tmp <= 45252) Thengetpychar = "A"ElseIf (tmp >= 45253 And tmp <= 45760) Thengetpychar = &qu 阅读全文