I don't know whether this is possible or not. What I want to do is to reference a DataTable (and other objects, but getting it working for one will make the rest easy) and use it as a paramater, but I want to do this in a loop, so that I can perform the function with each DataTable dt1, dt2, dt3 etc. Something like this (although this obviously doesn't work):
for (int i = 0; i <= max; i++)
{
Load("dt"+i);
}
Is this actually possible to do?