Hello World (Visual Basic .NET)

windows key on custom keyboard

Imports System

Module Solution

    Public Shared Sub Main()
        ' basic input
        Dim greeting As String
        greeting = Console.ReadLine()

        ' basic output
        Console.WriteLine("Hello, World.")
        Console.WriteLine(greeting)

    End Sub
End Module

Be the first to comment

Leave a Reply

Your email address will not be published.


*