]I need to create an a variable set to an object dynamically using the code below. There can be anywhere from 0 to many so I need to set lr with a numeric value for example lr1, lr2 etc... I am realizing what I have below cannot be done with a simple concatination.
foreach (int i in labreports)
MHLServices.FaxQueueRequestILabReport "lr" + i.ToString() = new MHLServices.FaxQueueRequestILabReport();
lr + i.lr_uid = labreports.items[i];
fax.FaxQueueRequestILabReports.Add(lr + i);