1.Linq2.Extension Methods3.Lambda Methods string [] names=new string[]{"bill","Jane","Bob"}; IEnumberablestring bs=name.Wherestring(deletegate(string s){ return s.StartWith("b"); });等同于: IEnumberablestring bs=names.Where( n = n.StartWith("b") );4.Generic Type Inference5.Automatic properties6. Read More
posted @ 2010-12-18 16:36 庚武 Views(193) Comments(0) Diggs(0) Edit
示例代码: Read More
posted @ 2010-12-18 15:21 庚武 Views(330) Comments(0) Diggs(0) Edit