Imports System
public class MainClass
Shared Sub Main()
Dim valueOne As Integer = 10
Dim valueTwo As Integer = 20
Dim valueThree As Integer = 30
If valueOne > valueTwo Then
Console.WriteLine( _
"ValueOne: {0} larger than ValueTwo: {1}", valueOne, valueTwo)
Else
Console.WriteLine( _
"Nope, ValueOne: {0} is NOT larger than valueTwo: {1}", _
valueOne, valueTwo)
End If
End Sub
End Class
|