⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠

Text Elements

List names = new List{“John”, “Rick”, “Maggie”, “Mary”}; ^OOD4P9iH

IEnumerable nameQuery = from name in names where name[0] == ‘M’ select name; ^yyjpOuVq

foreach (string str in nameQuery) { Console.WriteLine(str); }

1

2

3