Featured Posts
Recent Articles

Visual Basic .NET (VB.NET)

Visual Basic .NET (VB.NET), is an object-oriented computer programming language that can be viewed as an evolution of the classic Visual Basic (VB), which is implemented on the .NET Framework. Microsoft currently supplies two major implementations of Visual Basic: Microsoft Visual Studio, which is commercial software and Microsoft Visual Studio Express, which is free of charge. Microsoft implementation of Visual Basic .NET is called “Microsoft Visual Basic”.

There are four versions and five releases of Visual Basic .NET implemented by the Visual Basic Team.

1. Visual Basic .NET 2003 (VB 7.1)
Visual Basic .NET 2003 was released with version 1.1 of the .NET Framework. New features included support for the .NET Compact Framework and a better VB upgrade wizard. Improvements were also made to the performance and reliability of the .NET IDE (particularly the background Compiler) and runtime. In addition, Visual Basic .NET 2003 was available in the Visual Studio.NET Academic Edition (VS03AE). VS03AE is distributed to a certain number of scholars from each country without cost.


2. Visual Basic 2005 (VB 8.0)
Visual Basic 2005 is the name used to refer to the Visual Basic .NET, Microsoft having decided to drop the .NET portion of the title.

For this release, Microsoft added many features, including:
  • Edit and Continue
  • Design-time expression evaluation.
  • The My pseudo-namespace (overview, details), which provides: easy access to certain areas of the .NET Framework that otherwise require significant code to access and dynamically-generated classes (notably My.Forms)
  • Improvements to the VB-to-VB.NET converter
  • The Using keyword, simplifying the use of objects that require the Dispose pattern to free resources
  • Just My Code, which when debugging hides (steps over) boilerplate code written by the Visual Studio .NET IDE and system library code
  • Data Source binding, easing database client/server development
The above functions (particularly My) are intended to reinforce Visual Basic .NET’s focus as a rapid application development platform and further differentiate it from C#.

Visual Basic 2005 introduced features meant to fill in the gaps between itself and other “more powerful” .NET languages, adding:

1 .NET 2.0 languages features such as:
  • generics
  • Partial classes, a method of defining some parts of a class in one file and then adding more definitions later; particularly useful for integrating user code with auto-generated code
  • Nullable Types

2. Support for unsigned integer data types commonly used in other languages

‘IsNot’ operator patented

One other feature of Visual Basic 2005 is the IsNot operator that makes ‘If X IsNot Y’ equivalent to ‘If Not X Is Y’, which gained notoriety when it was found to be the subject of a Microsoft patent application.

3. Visual Basic 2008 (VB 9.0)

Visual Basic 9.0 was released together with the Microsoft .NET Framework 3.5 on 19 November 2007.

For this release, Microsoft added many features, including:
  • A true conditional operator, “If(condition as boolean, truepart, falsepart)”, to replace the “IIf” function.
  • Anonymous types
  • Support for LINQ
  • Lambda expressions
  • XML Literals
  • Type Inference
  • Extension methods
4. Visual Basic 2010 (VB 10.0)

In April 2010, Microsoft released Visual Basic 2010. Microsoft had planned to use the Dynamic Language Runtime (DLR) for that release but shifted to a co-evolution strategy between Visual Basic and sister language C# to bring both languages into closer parity with one another. Visual Basic’s innate ability to interact dynamically with CLR and COM objects has been enhanced to work with dynamic languages built on the DLR such as IronPython and IronRuby. The Visual Basic Compiler was improved to infer line continuation in a set of common contexts, in many cases removing the need for the “_” line continuation character. Also, existing support of inline Functions was complemented with support for inline Subs as well as multi-line versions of both Sub and Function lambdas

Share and Enjoy:

0 comments for this post

Leave a reply

We will keep You Updated...
Sign up to receive breaking news
as well as receive other site updates!
Subscribe via RSS Feed subscribe to feeds
Recent Stories
Blog Archives
Recent Comments
Tag Cloud