1 public interface IEnumerator {2 object Current { get; }3 bool MoveNext();4 void Reset();5 }
1 public interface IEnumerable {2 IEnumerator GetEnumerator();3 }
1 public interface ICollection : IEnumerable {2 int Count { get; }3 object SyncRoot { get; }4 bool IsSynchronized { get; }5 void CopyTo(Array array, int index);6 }
1 public struct KeyValuePair{2 public KeyValuePair(TKey key,TValue value);3 public TKey Key { get; }4 public TValue Value { get; }5 public override string ToString();6 }
1 public struct DictionaryEntry {2 public DictionaryEntry(object key,object value);3 public object Key { get; set; }4 public object Value { get; set; }5 }
1 public interface IDictionary : ICollection,IEnumerable { 2 object this[object key] { get; set; } 3 ICollection Keys { get; } 4 ICollection Values { get; } 5 bool IsReadOnly { get; } 6 bool IsFixedSize { get; } 7 void Add(object key,object value); 8 void Clear(); 9 bool Contains(object key);10 IDictionaryEnumerator GetEnumerator();11 void Remove(object key);12 }
1 public interface IDictionaryEnumerator : IEnumerator {2 object Key { get; }3 object Value { get; }4 DictionaryEntry Entry { get; }5 }