public class Level
{
public long Id { get; set; }
public long? ParentId { get; set; }
public Level Parent { get; set; }
public List<Level> Children { get; set; }
public string Name { get; set; }
public Dictionary<string,string> YearSummary{ get; set; }
}
I want to dynamically create columns for YearSummary field.
Could you please suggest the proper way to do that?