What do I get the best performance to get the value of a data in a list? Do foreach or lambda (when possible, of course)? I can have this:
foreach(var i in lista)
{
var teste = i.NmCampo;
}
Or this:
var teste = lista.Select(campo...
asked by
11.03.2015 / 13:09