An example:
Dim myFoo as FooClass()
Dim fooType = myFoo.GetType()
'This is how it's normally done...
Dim myList as List(Of FooClass) = nothing
'I need to basically do something like this
Dim myOtherList as List(Of fooType) = nothing
Basically, I'm trying to dynamically create a generic object based on the Type. Is there a way to do this?
Thanks, Sam.