Distinct
int[] array = new int[7] { 7, 8, 1, 9, 10, 7, 1 }; array = array.Distinct().ToArray();
string[] testArray=new string [3]{ "Data","Data ","One"}; var arrayWithout=testArray.Distinct().ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)