User339833461 posted
Hello Everyone,
I have 2 string arrays for example
string[] a = {"The","Big", "Ant", "The"};
string[] b = {"Big","Ant","Ran", "The"};
here i am comparing 2 string arrays(a may contains duplicate elements
as well). How to get not matched elements
while comparing a and b in b(with duplicates
as well). in linq
'Except' i am not getting duplicate records. I need to get duplicates
as well.
b = a.Except(b).ToArray();
Thanks