鉴于以下情况:
Public MustInherit Class A(Of X As A(Of X, Y), Y As B(Of X, Y))
End Class
Public MustInherit Class B(Of X As A(Of X, Y), Y As B(Of X, Y))
End Class
Public Class D
Private _v As A(Of X As A(Of X, Y), Y AS B(Of X, Y))
Public Sub Initialize(Of X As A(Of X, Y), Y As B(Of X, Y))(ByVal v As A(Of X, Y))
_v = v
End Sub
End Class
是否可以定义成员变量_v?定义成员变量时似乎没有“As”关键字,所以上面的不会编译,编译器会抱怨类型参数太少。