I\'d like to do something like this:
Private _myCollection As IList(Of T) Public Property MyProperty(Of T)() as IList(Of T) Get Return Me._myColl
If you do not want to convert your whole class to a generic one you could also add generic procedures to your class (see MSDN):
Public Function GetMyProperty(Of T) As T .... End Function Public Sub SetMyProperty(value as T) ... End Sub
But it is not as elegant as the properties.