通用类的实例

通过创建具有给定的不同类型的相同类的实例,类的接口根据给定的类型而改变。

Dim theStringClass As New SomeClass(Of String)
Dim theIntegerClass As New SomeClass(Of Integer)

StackOverflow 文档