Visual Basic .NET Operator ! From C#

The C# operator ! is equivalent with the Visual Basic .NET “Not” operator

In C# you can use the operation like this

bool Var = true;
Var = !Var

And for Visual Basic .NET

Dim Var As Boolean = True
Var = Not Var
Posted in Tips and Tricks, Windows Tagged with: , ,