Last active
April 6, 2016 15:53
-
-
Save uqmessias/8ea814787660875db641dd1455b7716d 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 = 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