Program to print all the unique elements in an array in c# code example Example: get unique array based on value in c# items.Distinct<int>()