Comparison of Visual Basic and Visual Basic .NET
Visual Basic .NET was released by Microsoft in 2002 as a successor to the original Visual Basic computer programming language.
≈ 1 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Visual Basic .NET was released by Microsoft in 20021 as a successor to the original Visual Basic computer programming language. It was implemented on the .NET Framework 1.0. The main new feature was managed code.
Programmers familiar only with Visual Basic would probably have encountered difficulties working with the new version or adapting existing programs for it. Visual Basic .NET allows for the += , -= , *= , /= , \= , ^= , and &= compound operators so that longer lines like: variable = variable + 1 can now be written as: variable += 1 However, increment and decrement operators are not supported.
If foo() And bar() Then ' code here is executed if foo() and bar() both return True, however, if foo() returns False, bar() is still evaluated End If This was not only inefficient, but could lead to unexpected results for any person used to another language. In Visual Basic .NET, the new AndAlso and OrElse operators have been added to provide short-circuit evaluation like many other languages.
External links
The top 5 changes between VB 6 and VB.NET Jagged Arrays in VB.NET
Text derived from https://en.wikipedia.org/w/index.php?oldid=1186437904 under CC BY-SA 4.0; modifications have been made.
References
- ↩Wikipedia “Comparison of Visual Basic and Visual Basic .NET” release date (×1) · confidence 0.95 revision URL