System.Collections Interface
ICollection
System.Collections namespace에 있는 가장 기본 인터페이스
컨테이너의 아이템 양을 결정
컨테이너의 thread 안전을 보장
contents을 System.Array로 복사를 할 수 있게한다
public interface ICollection : IEnumerable
{
int Count{get;}
bool IsSynchronized { get; }
object SyncRoot { get; }
void CopyTo(Array array, int index);
}
컨테이너의 아이템 양을 결정
컨테이너의 thread 안전을 보장
contents을 System.Array로 복사를 할 수 있게한다
public interface ICollection : IEnumerable
{
int Count{get;}
bool IsSynchronized { get; }
object SyncRoot { get; }
void CopyTo(Array array, int index);
}
IComparer 두 object 를 비교할수 있게한다. 만든 object를 비교하려면, 이를 상속해야한다
IDictionary
Object 타입의 nongeneric collection에 name/value상으로 사용할 수 있게 한다
IDictionaryEnumerator : IDictionary를 보조한다
IEnumerable : 주어진 object의 IEnumerator를 반환한다
IEnumerator : object탑에 맞게 foreach loop를 가능하게 한다
IHasCodeProvider : hash코드 반환
IList : Provides behavior to add, remove, and index items in a list of
objects. Also, this interface defines members to determine
whether the implementing collection type is read-only and/or
a fixed-size container.
objects. Also, this interface defines members to determine
whether the implementing collection type is read-only and/or
a fixed-size container.