1Class MethodResolution 2 Class Base 3 4 End Class 5 Class Derived 6 Inherits base 7 8 End Class 9 10 Shared Function method(ByVal var As base) As Integer 11 Return 1 12 End Function 13 Shared Function method(ByVal var As derived) As Integer 14 Return 0 15 End Function 16 17 Shared Function Main() As Integer 18 Return method(New derived) 19 End Function 20End Class