Say I want to loop through a datareader and create a load of objects of a certain type but using a value from the datareader as the object name e.g.
String "string_" + <value from datareader> = new String();
So if I had values temp1,temp2 & temp3 coming out of the datareader I would have 3 new objects of type string e.g.
string_temp1
string_temp2
string_temp3
How can I create the objects with the name from the datareader?, or is there any suggestions on a better way to do this?