Answers for "get item from 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
5

c# list of properties from list of objects

List<string> firstNames = people.Select(person => person.FirstName).ToList();
Posted by: Guest on May-11-2020

Code answers related to "get item from list of objects c#"

C# Answers by Framework

Browse Popular Code Answers by Language