Option Strict On Option Explicit On Module ExpressionsDemo Sub Main() Dim i as Integer = 2, r as Integer = 1 If i <> 3 Then Console.WriteLine("OK") ' Writes OK End If If Not i = 3 Then Console.WriteLine("OK") ' Same as above End If End Sub End Module