Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public IEnumerable<Cliente> ClientesMasculinosComMaisDeVinteAnos(IEnumerable<Cliente> clientes)
{
//Reparem no uso da expressão Lambda
return clientes.Where(c => c.Idade > 20 && c.Sexo == "Masculino");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment