List<int> intList = new List<int>(); //List的常用方法,强类型 intList.Add(600); intList.AddRange(new int[]{501,502});//添加多个元素 intList.Contains(200);//判断是否存在元素 intList.Indexof(501); intList.Remove(501); intList.RemoveAt(index); intList.Insert(1,1001);//指定位置插入 intList.Capacity;//集合的总大小 intList.Count;//元素的大小