1.4.6.Use Console.WriteLine to display various type variables
Module Module1
Sub Main() Dim A As Integer = 100 Dim B As Double = 0.123456789 Dim Message As String = "Hello, VB World!"
Console.WriteLine(A)
Console.WriteLine("The value of A is " & A)
Console.WriteLine(B)
Console.WriteLine(B & " plus " & A & " = " & B + A)
Console.WriteLine(Message)
End Sub
End Module
100
The value of A is 100
0.123456789
0.123456789 plus 100 = 100.123456789
Hello, VB World!