public static List <Coppia> VariMatch(CSVElement element) { List <Coppia> temporanea = new List <Coppia>(); foreach (CSVElement el in CSVUtility.csvList) { temporanea.Add(new Coppia { PrimoNome = element.Nome, SecondoNome = el.Nome, Punteggio = CSVUtility.ConfrontaElementi(element, el) }); } List <Coppia> temporaneaSorted = temporanea.OrderByDescending(s => s.Punteggio).ToList(); return(temporaneaSorted); }