I have a question, I am a bit new to this Linq, and I need your help.
public class getHistorialInstalaciones
{
public string end_date { get; set; }
public udataHistorialInteracciones udata { get; set; }
public fromHistorialInteracciones from { get; set; }
public List<toHistorialInteracciones> to { get; set; }
}
And I want to make a query with Linq that I do it like this Cases = to Deserialization in Json to the Class.
var Lista = (from r in casos
select new
{
//toI = r.udata.To,
//toII = r.to,
//fromI = [email protected],
end_dateI = r.end_date,
}).ToList();
But I also need to bring me the value of to
, from
and udata.to
.
How can I consult these fields?