Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Find an item in a list by LINQ

string search = "lookforme";
 List<string> myList = new List<string>();
 string result = myList.Single(s => s == search);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Find #item #list #LINQ
ADD COMMENT
Topic
Name
9+9 =