I have a class declared as follows:
Public MustInherit Container(Of T As {New, BaseClass}) Inherits ArrayList(Of T)
I have classes that inherit this class.
I have another class that I must pass instances in this method:
Public Sub LoadCollection(Of T As {BaseClass, New})(ByRef Collection As Container(Of T))
I need to store the passed in object in a global variable, but i can't simply declare it:
Private _Container as Collection(Of BaseClass)
What is the syntax to declare this object?