My code is like this
var eventDocs = new List<dynamic>();
foreach (var node in eventtypeNode.GetDescendantNodes())
{
string files = node.GetProperty("document").Value;
eventDocs.Add(new { Id = node.Id, Name = node.Name, CreatedOn = node.CreateDate, Path = files });
}
This works good. Now I am trying to fetch the data out of this dynamic list
foreach (var eventDoc in eventDocs)
{
eventDoc.---- //nothing comes on intellisence
}
Nothing comes on IntelliSense? Am I doing anything wrong?