Created
September 13, 2012 09:42
-
-
Save chrissie1/3713250 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module Module1 | |
Sub Main() | |
Dim s = New subclass | |
s.test() | |
Console.ReadLine() | |
End Sub | |
Public Interface IInterface | |
Sub test() | |
End Interface | |
Public MustInherit Class baseclass | |
Public Sub test() | |
Console.WriteLine("baseclass") | |
End Sub | |
End Class | |
Public Class subclass | |
Inherits baseclass | |
Implements IInterface | |
Public Sub test1() Implements IInterface.test | |
End Sub | |
End Class | |
End Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment