Most voted "lambda-expressions" questions
A lambda expression is an anonymous function that you can use to create delegates or expression tree types.
Learn more…305 questions
Sort by count of
-
-2
votes1
answer341
viewslambda expression gives conversion error
This is my lambda ring: public JsonResult CarregaDescricaoRede(string _tipo_rede, string _uf, string _cidade) { var resultado_rede_descricao = (from _pdv in db.PDV .Where(r => r.Tipo_PDV ==…
-
-2
votes1
answer55
viewsTurn float or double into date within a lambda
In BD you have a field with a float value, which is actually the number of days from the date 28/12/1800, that the Clarion programming language stores. Well, I have a service REST that is consumed…
-
-2
votes1
answer50
viewsHow do I order a Complex List?
How do I sort a complex list ? I have this list below and I need to sort by Nometype and Nomesubtype: public class Tipo() { public int IdTipo {get; set;} public string NomeTipo {get; set;} public…
-
-2
votes2
answers145
viewsWhat are the disadvantages of protecting a string of objects from a nullPointerException using the optional map?
For example: public static void main(String[] args) { Cidade cidade = new Cidade(); Estado estado = new Estado(cidade); Endereco endereco = new Endereco(estado); Loja loja = new Loja(endereco);…
-
-3
votes1
answer1703
viewsBring the last five in a row
I have a table of events. And each POS, an event is held, with the Event ID, Date, User and Type. Well, whenever I make a query, I populate an event grid. I would like to know, how to bring the last…