Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private IEnumerable<string> nomes = new List<string>(){ "Uilque", "Lucas", "Luiz", "João", "Pedro", "Antônio" };
public IEnumerable<string> NomesGrandesEmCaixaAltaOrdenados()
{
var nomesGrandesEmCaixaAlta = from n in nomes
orderby n
where n.Length > 5
select n.ToUpper();
return nomesGrandesEmCaixaAlta;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.