» Home
» Tutorials
» Search  
» Contact us 

Home » Tutorials » Introduction to Visual Basic .NET » Chapter 3

3.6: Data Types
3.6.1: Numbers
3.6.1.3: Integer Math Shorthand
3.6.1.3.1: How It Works

How It Works

To use the shorthand version you just drop the last intNumber variable and move the operator to the left of the equals sign. Here is the old version:

intNumber = intNumber + 8

. . . and here’s the new version:

intNumber += 8

 

click next Page - The Problem with Integer Math.

Home | Link to Us | Partner Links | About us | Contact us

Copyright © 2009-2012 F1tutorials.com | All Rights Reserved