Mega Code Archive
Categories
/
ASP.Net Tutorial
/
LINQ
Understanding LINQ
var words = new List
{"zephyr", "apple", "azure"}; var results = from w in words where w.Contains("z") select w; the results variable will contain the following list of two words: zephyr azure