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
Twitter LinkedIn Facebook 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 feedback

The .NET documentation is open source. Provide feedback here.

Open a documentation issue Provide product feedback

Feedback

Submit and view feedback for

This product This page
View all page feedback

Additional resources

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023

Additional resources

In this article

  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023