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
示例代码: Read More