New Items

In addition to changes to the core language and some of the tools, there are some completely new features to VB .NET. The major new items include such features as constructors and destructors, namespaces, inheritance, overloading, free threading, and garbage collection. This is not an exhaustive list by any means, but these six features are worth discussing to one degree or another. One feature that should be mentioned as well is something you've been seeing all along: auto-indention. As soon as you create a block, such as a Sub or If block, the IDE indents the next line of code automatically.

Constructors and Destructors

Constructors and destructors are potentially new concepts for VB programmers. They are similar to the Class Initialize ...

Get A Programmer's Introduction to Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.