Created
November 3, 2020 12:23
-
-
Save shassaan/c0805da84d89d5edc4afd3bc33b40aac to your computer and use it in GitHub Desktop.
Creating List and Querying
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IList<string> stringList = new List<string>() | |
{ | |
"C# Tutorials", | |
"TS Tutorials", | |
"Learn python", | |
"nodejs Tutorials" , | |
"adonisjs" | |
}; // 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