1 主要接口
ICollection: count(总数),copyTo(Array,Index)
IDictionary: Add/Remove/Clear/contains方法,this[key],ICollection Keys,ICollection Values 属性, IDictionaryEnumerator GetEnumerate方法
IDictionaryEnumerator : DictionaryEntry, key,object 属性
IList: Add/Remove/Clear/contains/indexOf等方法,this[index],属性
IComparable
接口的关系
IEnumerator是基类,IList/IDictionary/ICollection是子类,IList/IDictionary是ICollection的子类,IDictionaryEnumerator是IEnumerator的子类,
2 主要类
ArrayList/HashTable/Queue/SortedList/Stack
3 模板类
在namespace ,system.collections.generic
关键字 default
public class Point<T>{
T x;
T y;
public void reset()
{
x = default(T);
y = default(T);//表示此类型的系统默认值
}
}