S
Shapper
Hello,
I have a List<Role> A and a int[] B. Role has a property int ID.
I need to loop through each element in B which does not have a correspondent Role in A with ID equal to the number in B.
Something like:
foreach (int x in B.Where(A.Role.ID == B is false))
How can I do this?
Thank You,
Miguel
I have a List<Role> A and a int[] B. Role has a property int ID.
I need to loop through each element in B which does not have a correspondent Role in A with ID equal to the number in B.
Something like:
foreach (int x in B.Where(A.Role.ID == B is false))
How can I do this?
Thank You,
Miguel