Hi all,

I have a situation such that it is only at run time that i would know what type of generic list i want to create. Therefore I need something like:

Private List<IBase> Test(IBase myObj) // where IBase is a base class which all others inherit
{
Type myType = GetType(myObj)
Return new List<myType>;
}

I know the code above is rubbish, its just to give you an idea of what i want to achieve. Any ideas???