- 13
- 0
- 约2.1万字
- 约 79页
- 2018-06-09 发布于山西
- 举报
第章数组和集合
C# 程 序 设 计C# Programming Language Contents 5.5 ArrayList类 在System.Collections.Generic命名空间下,提供了常用的泛型集合类 泛型集合类 非泛型集合类 泛型集合用法举例 ListT ArrayList Liststring dinosaurs = new Liststring( ); DictionaryTKey,Tvalue Hashtable Dictionarystring, string d = new Dictionarystring, string( ); d.Add (txt, notepad.exe); QueueT Queue Queuestring q = new Queuestring( ); q.Enqueue(one); StackT Stack Stackstring s = new Stackstring( ); s.Push(one);s.Pop( ); SortedList TKey,TValue SortedList SortedListstring, string list = new SortedListstring, string( ); list.Add (txt, notepad.exe); list.TryGetValue(tif, out val
原创力文档

文档评论(0)