' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
Imports System

Public Class P
    Public Sub M()
        Console.WriteLine("P M")
    End Sub
End Class 

Public Class C
Inherits P
    Private Shadows Sub M()
        Console.WriteLine("C M")
    End Sub
End Class 

Class MainClass
    Public Shared Sub Main(ByVal args As String())
        Dim c As C = New C
        c.M
    End Sub
End Class 
