@supermanPunch , i already know the item will be numeric
i am passing data in that list from two different process
but sometimes there is a possibility that items value in list 1 is different to item value in list 2. we need to compare this
can be done e.g within an if else
Condition: List1.Except(List2).Count = 0 And List2.Except(List1).Count = 0
true: all List2 items Are contained in List 1 And all List1 items Are contained in List 2
false: there are different elements
@Abhinavpandey I guess the problem was in the way you used Add to Collection Activity. I tried with many methods, But I couldn’t get the Result because you had added 6 of the Values to the Same List1 instead of Assigning the other 3 Values to List2.
I corrected it now.
If you use what @ppr suggested, It Should work Wonderfully well.
Check the Updated xaml : CompareList.zip (14.1 KB)