linq用法整理 普通查询 var highScores = from student in students where student.ExamScores[exam] > score select new {Name = student.FirstName, Score = student.ExamScores[exam]}; Group by var queryLastNames = from student in students group student by student.La…
说明 此文章分两部分,1.ArrayList用法.2.源码分析.先用法后分析是为了以后忘了查阅起来方便-- ArrayList 基本用法 1.创建ArrayList对象 //创建默认容量的数组列表(默认为10) ArrayList<E> a = new ArrayList<E>(); //创建容量为initialCapacity的数组列表 ArrayList<E> a = new ArrayList<E>(int initialCapacity); //用一…