0
List<string> esportes = new List<string> { "Futebol", "Voleibol", "Basquetebol", "Natação", "Rugby", "Handebol" };
List<string> resultado = new List<string>();
resultado = (from esp in esportes where esp.EndsWith(criterio) select esp).ToList();
resultado = esportes.Where(esp => esp.EndsWith(criterio))
.Select(esp => esp).ToList();
Does this Answer your Question? Differences between declarative and imperative form of LINQ
– Renan
@Renan answers yes, thank you very much!
– Jhonathan Araujo