All,
I am facing issues in identifying the unique values from 2 string arrays.
string_Arr1 = {“1111”,“2565”,“5685”,“1234”}
string_Arr2 = {“2865”,“1234”,“1111”}
Would require : just the unique values - {“1111”,“2565”,“5685”,“1234”,“2865”}
I have tried the below approach - (After converting to string by String.join (“,”, Both arrays),
String.Split(Environment.NewLine.TocharArray).Distinct().Toarray()
It isnt working, any other change would require? Pls advice.
[ Reference - How to remove duplicate values within a string variable ]