5
My List:
public class Carro
{
public int Ano;
public double Valor;
}
List<Carro> Fiat = new List<Carro>();
Fiat.Add(new Carro {Ano = 2000, Valor = 5000 });
Fiat.Add(new Carro {Ano = 2000, Valor = 6000 });
Fiat.Add(new Carro {Ano = 2001, Valor = 7000 });
Fiat.Add(new Carro {Ano = 2002, Valor = 8000 });
How to make a filter in this list using lambda with more than one field?
It depends, which filter do you want to make? What filter? Show at least how you would do with a field to understand what you want.
– Maniero