Last active
May 17, 2016 18:14
-
-
Save uqmessias/7a97405ad8afa15a0c848258abe70ede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private IEnumerable<string> nomes = new List<string>(){ "Uilque", "Lucas", "Luiz", "João", "Pedro", "Antônio" }; | |
public IEnumerable<string> NomesGrandesEmCaixaAltaOrdenados() | |
{ | |
var nomesGrandesEmCaixaAlta = nomes.Where(n => n.Length > 5) | |
.OrderBy(n => n) | |
.Select(n => n.ToUpper()); | |
return nomesGrandesEmCaixaAlta; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment