Addition Of two Numbers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sonia.sardana
    New Member
    • Jul 2006
    • 95

    Addition Of two Numbers

    HI friends,
    I m new to the VB. I want to know how much difference is there b/W VB and VB.net?

    Pleses tell me just simple eg in vb (Addition of two nos)
  • VBWheaties
    New Member
    • Feb 2008
    • 145

    #2
    Originally posted by sonia.sardana
    HI friends,
    I m new to the VB. I want to know how much difference is there b/W VB and VB.net?

    Pleses tell me just simple eg in vb (Addition of two nos)
    Addition of two numbers has not changed. There are many shortcuts implemented in vb.net but in terms of operators, vb and vb.net are similar.
    except in this way:
    Code:
    Dim i as integer
    i += 1
    You can only do that in vb.net

    in addition, you can only do this in .net:
    Code:
    Dim i as integer = 1
    but for the most part, they are compatible in terms of operators.

    Comment

    Working...