Test if all values in a list are unique December 29, 2022 by Tarik bool isUnique = theList.Distinct().Count() == theList.Count();