Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit

Share via

Facebook x.com LinkedIn Email

Operators (Visual Basic)

  • Article
  • 09/15/2021

In this article

In this section

  • Operator precedence in Visual Basic
  • Operators listed by functionality
  • Data types of operator results
  • DirectCast operator
  • TryCast operator
  • NameOf operator
  • New operator
  • Null-conditional operators
  • Arithmetic operators
  • Assignment operators
  • Bit Shift operators
  • Comparison operators
  • Concatenation operators
  • Logical/Bitwise operators
  • Miscellaneous operators

Related sections

  • Visual Basic language reference
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

.NET

Open a documentation issue Provide product feedback

Additional resources

California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025

Additional resources

In this article

California Consumer Privacy Act (CCPA) Opt-Out Icon Your Privacy Choices
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2025