I have a list variable with an array of elements intallationList{“12345”,“3456”, “3456”} and another array variable excluded{“3452”}.
I need to do a match between the 2, that is, it tells me if excluded exists in the list or not.
I have a list variable with an array of elements intallationList{“12345”,“3456”, “3456”} and another array variable excluded{“3452”}.
I need to do a match between the 2, that is, it tells me if excluded exists in the list or not.
list2.Except(list1).toList | or toArray will return all List2 items which are not present in list 1
Not list2.Except(list1).Any() -
True all L2 was present in L1,
False there were some L2 not in L1
Thank you very much!!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.