using System.Collection.Generic
- 일반화 컬렉션 형식을 지정해서 사용하기 때문에 불필요한 형식 변환을 발생시키지 않으며,
잘못된 형식의 객체를 담는 위험을 피할 수 있음.
- 일반화 Collection : LIST, Queue, Stack, Dictionary
(ArrayList, Queue, Stack, Hashtable의 일반화 버전)
1. LIST<T>
2. Queue<T>
3. Stack<T>
4. Dictionary<T>
'쵸코코딩 > CODE' 카테고리의 다른 글
C#-6.Anonymous Type & Method (0) | 2020.05.11 |
---|---|
C#-5.Delegate (0) | 2020.05.11 |
C#-3.Generalizition (0) | 2020.05.11 |
C#-2.Collection (ArrayList, Queue, Stack,Hashtable) (0) | 2020.05.11 |
C#-1.Property (0) | 2020.05.11 |