c# search in list of objects code example
Example 1: find a value in list of objects in c#
var item = TextPool.FirstOrDefault(o => o.Name == "test");
if (item != null)
item.value = "Value";
Example 2: list search c#
list.Where(x => x.Name == "theName");
return list;