Skip to content

Instantly share code, notes, and snippets.

Created November 3, 2020 12:23
What would you like to do?
Creating List and Querying
IList<string> stringList = new List<string>()
"C# Tutorials",
"TS Tutorials",
"Learn python",
"nodejs Tutorials" ,
}; // LINQ Query Syntax
var result = stringList.Where(s => s.Contains("Tutorials"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment