' 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
Imports System.Runtime.InteropServices

Class MainClass

    <DllImport("msvcrt.dll")> _
    Public Shared Function system(ByVal cmd As String) As Integer
    End Function

    Public Shared Sub Main(ByVal args As String())
        Console.WriteLine("Hello world")
        system("CLS")
    End Sub
End Class 
