Skip to content

SpaceTech

Exploration of Information, Communication and Technology

  • Home
  • Resx Builder
  • About
  • LinkedIn
  • Github

Visual Basic .NET Operator ! From C#

November 19, 2012June 2, 2021 Bjarne

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 TechnologyTagged c#, operator, Tips and Tricks, vb.net, Windows

About

Hey! Engineer here. This is my engineering diary. I enjoy creating things, whether that be websites, plugins, mobile apps. I'm currently playing around in an engineering department where I work on a wide variety of interesting and meaningful projects on a daily basis. You’re welcome to connect and say hey on LinkedIn. Enjoy!


  • Creating Custom Voice Text-to-Speech with Kvoicewalk and Kokoro-Web
  • Navigating Python Dependency Hell: A Real-World Troubleshooting Guide
  • NASA’s SPHEREx Completes the First Cosmic Rainbow Map
  • SpaceX’s Strategic Shift: Lowering the Starlink Shell
  • The Antarctic Giant: NASA’s Stratospheric Balloon Science

Copyright ©SpaceTech

Clean Theme by WPVKP