Answers for "how to get a item by id in a list c#"

C#
1

c# find element in list of list

var element = (from sublist in userList
               from item in sublist
               where item.uniqueidentifier == someid
               select item).FirstOrDefault();
Posted by: Guest on June-24-2020
0

c# get all id of list object

Categories.Select(c => c.Id).ToList();
Posted by: Guest on May-04-2021

Code answers related to "how to get a item by id in a list c#"

C# Answers by Framework

Browse Popular Code Answers by Language