Basic lambda expressions with LINQ

suggest change
// assume source is {0, 1, 2, ..., 10}

var evens = source.Where(n => n%2 == 0);
// evens = {0, 2, 4, ... 10}

var strings = source.Select(n => n.ToString());
// strings = {"0", "1", ..., "10"}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents