Test if all values in a list are unique June 7, 2023 by Tarik bool isUnique = theList.Distinct().Count() == theList.Count();