, - , . , , , "x y", "y x". , "x y", .
,
Function Compare(ByVal x as TheType, ByVal y as TheType) As Integer
If x.SubClass Is Nothing AndAlso y.SubClass Is Nothing Then
Return 0
Else If x.SubClass IsNot Nothing AndAlso y.SubClass IsNot Nothing Then
Return 0
Else If x.SubClass IsNot Nothing Tehn
Return -1
Else
Return 1
End If
End Function
lambda, Visual Studio 2010, .