check fir distint elements in an array c# code example Example: get unique array based on value in c# items.Distinct<int>()