... | ... | @@ -22,6 +22,7 @@ |
|
|
* [4-4. System.Collections.Stack](#stack)
|
|
|
* [4-5. System.Collections.Queue](#queue)
|
|
|
* [4-6. 제네릭](#제네릭)
|
|
|
* [4-7. BCL에 적용된 제네릭](#blc에-적용된-제네릭)
|
|
|
* [5. 파일](#파일)
|
|
|
* [5-1. System.IO.FileStream](#filestream)
|
|
|
* [5-2. System.IO.File/FileInfo](#filefileinfo)
|
... | ... | @@ -1031,6 +1032,16 @@ class GenericEx1 |
|
|
}
|
|
|
```
|
|
|
|
|
|
### BCL에 적용된 제네릭
|
|
|
|
|
|
|기존 컬렉션|대응되는 제네릭 버전 컬렉션|
|
|
|
|-------------|--------------------------------|
|
|
|
|ArrayList|List<T>|
|
|
|
|Hashtable|Dictionary<TKey, TValue>|
|
|
|
|SortedList|SortedDictionary<TKey,TValue>|
|
|
|
|Stack|Stack<T>|
|
|
|
|Queue|Queue<T>|
|
|
|
|
|
|
|
|
|
|
|
|
|
... | ... | |