The If End If Block in Visual Basic
If statement evaluates to ( if this condition is true then do this otherwise do this).
Example
Module Module1 Sub Main() If 1 < 2 Then Console.WriteLine("1 is less than 2") Else Console.WriteLine("1 is greater than 2") End If Console.ReadLine() End Sub End Module
Output
1 is less than 2