C Sharp Language Inovation

Post on 10-May-2015

415 views 2 download

Tags:

Transcript of C Sharp Language Inovation

C# 1.0C# 1.0

C# 2.0C# 2.0

C# 3.0C# 3.0

var contacts = from c in customers where c.State == "WA" select new { c.Name, c.Phone };

var contacts = customers .Where(c => c.State == "WA") .Select(c => new { c.Name, c.Phone });