c# get unique values from dictionary code example Example: get unique array based on value in c# items.Distinct<int>()