supprimer les éléments répétés dans une liste d'unité

using System.Linq;
list = list.Distinct().ToList();
Inquisitive Impala