Exforsys.com
 
Home Tutorials VB.NET 2005
 

Differences between VB.NET 1.0 and VB.NET 2.0

 

VB.NET 2005 Free Training: Differences between VB.NET 1.0 and VB.NET 2.0: VB.NET 2005 comes with a number of enhancements. The IntelliSense Code snippets, the Windows Forms designer updates, IntelliSense filtering, debugger data tips, exception Assistant etc make the software a pleasure to work with. The language has been spruced up with generics, unsigned types, Operator overloading etc.



The My Namespace is the most significant enhancement that provides a single reference to commonly used functionalities within the .NET framework. It includes classes like Application, Computer, Forms, Resources, Settings and Users. This enables users to ping a computer with a simple line of code or play a audio file with a one line code.



Example:
My Computer Audio Play(“….*(name of file).wav)


A number of mundane problems being faced by coders have been solved in the process. The IntelliSense has taken away much of the pain of development by correcting errors and making suggestions even during the process of development. This improves the quality of codes and reduces the time taken to develop and debug large applications.


New Operators

A number of new operators have been introduced into the language to facilitate the coder. For instance the IsNot operator facilitates comparisons with Nothing. This was not possible earlier.


Just My Code

This feature of VB.NET enables the coder to skip over all the code that was not written by him. This is extremely useful when debugging custom code as all machine generated code is avoided. This feature becomes enabled when “Enable Just My Code Stepping” option is activated. This feature is enabled by default but can be disabled by the coder if he wishes to.


Support for Generics

The .NET framework has attempted to overcome some of the limitations of VB 6 with regard to collections. Errors in object storage under a collection, which were detectable at compile time has been resolved by providing the coder with many more types of collections. The coder can now import Systems Collections namespace which gives access to BitArray, HashTable, Queue, StoredList and Stack. In other words use of Generics has solved the problems in .NET Framework 2005.


Certain new concepts have been introduced in VB.NET 2005. The Operator overloading feature allows the coder define the behavior of classes when used with intrinsic language operators such as +, -,<,>,=, and <>. The appropriate outcome for operations are defined when applied to instances for user defined classes.


The DotNet Framework architecture has revolutionized the process of application development. In the lessons that follow we will be examining in greater detail how this framework helps the Visual Basic. NET developer.


 



Read Next: Introducing VB.NET Windows Forms



 

 

Comments


Ajay Choudhary said:

  its really usefull article but ...required to more abt the topics...that author have mentioned heare...and ...plz write down all the points or key feature of vb.net 2005
July 8, 2006, 2:24 am

Venkat Raja said:

  but, i am hungry for some more.
quantity should be increased, the quality is no doubt great.
January 12, 2007, 5:32 am

sivagirirajan said:

  it is really usefull
March 17, 2007, 2:35 am

tuan anh said:

  very good , it is really usefull
June 4, 2007, 8:44 pm

thirumoorthi said:

  it"s really super.it is very helpful for me study
June 12, 2007, 10:39 am

parvathy said:

  its really superb.continue like this
July 3, 2007, 2:17 am

shery said:

  Its really useful. Continue.
September 30, 2007, 10:16 am

yashodhan waghmare said:

  Its simply superb.it is very useful for us to enhancce our knowledge.Please continue it......
October 27, 2007, 12:46 pm

Ashkar said:

  itz really Cool and Excellent
December 7, 2007, 4:23 am

ram2384 said:

  good one
June 11, 2008, 8:43 am

Pardhu said:

  IT's Common Questions in all interviews.Simply Super
January 30, 2009, 9:17 am

VISHNU said:

  It is VerY Usefull Information. Thanks A Lot...
February 10, 2009, 9:14 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2010 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape