public class Test
public Shared Sub Main
Dim blnStatus As Boolean = True
Console.WriteLine(blnStatus)
blnStatus = Not blnStatus
Console.WriteLine(blnStatus)
If blnStatus Then
Console.WriteLine("The status is true.")
Else
Console.WriteLine("The status is false.")
End If
End Sub
End class
True
False
The status is false.