Answers for "how to make a search throught list of objects c#"

C#
4

find a value in list of objects in c#

var item = TextPool.FirstOrDefault(o => o.Name == "test");
if (item != null)
       item.value = "Value";
Posted by: Guest on April-03-2020
0

list search c#

list.Where(x => x.Name == "theName");
return list;
Posted by: Guest on February-09-2021

Code answers related to "how to make a search throught list of objects c#"

C# Answers by Framework

Browse Popular Code Answers by Language