Answers for "how to check if current property is in an list in other class c#"

C#
3

check if list of objects contains value c#

bool contains = pricePublicList.Any(p => p.Size == 200);
Posted by: Guest on March-04-2020
1

c# verify in class exist in list

Item wonderIfItsPresent = ...
bool containsItem = myList.Any(item => item.UniqueProperty == wonderIfItsPresent.UniqueProperty);'
Posted by: Guest on May-19-2020

Code answers related to "how to check if current property is in an list in other class c#"

C# Answers by Framework

Browse Popular Code Answers by Language