I have created a class in run time using reflection. I need to create a List collection of my reflection type. How to do that ?
MyClassBuilder MCB = new MyClassBuilder("ReportRecord");
var myclass = MCB.CreateMyProperty(myTable.Columns);
Type TP = myclass.GetType();
var myObject = Activator.CreateInstance(TP);
List<dynamic> ccc = new List<dynamic>();
In the above code I have created a class "ReportRecord" . I need to create collection of ReportRecord that is List.