Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# verify in class exist in list

Item wonderIfItsPresent = ...
bool containsItem = myList.Any(item => item.UniqueProperty == wonderIfItsPresent.UniqueProperty);'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #verify #class #exist #list
ADD COMMENT
Topic
Name
6+2 =