Q:

c# check list of objects for value

var matches = myList.Where(p => p.Name == nameToExtract);
0
if (within.OfType<Ball>().Any())
0

New to Communities?

Join the community