Answers for "linq find object from id"

C#
0

linq find object from id

MyObject myObject = collectionMyObject.FirstOrDefault(o => o.Items != null && o.Items.Any(io => io.Id == 2));
Posted by: Guest on June-25-2020

C# Answers by Framework

Browse Popular Code Answers by Language