string[] a = { 2; a; 3; b; 4; c}
string[] b = { 2; a; 6; c}
I want to compare this two arrays and remove the all digit(2,3,4,6)values and store match string values in another array.
I want the result like this:
string[] c = {a; c;}
I was tried this but it was adding all the values.
string[] result = a.Union(b).ToArray();
Uniondoes NOT work like that. UseIntersect