New Features in Visual Basic .NET
Part of the Visual Studio .NET All-in-One Cheat Sheet
Visual Basic .NET, part of the Visual Studio .NET suite, boasts a number of new features designed to make programming faster and easier. In addition to the basic features, such as variables, data types, constants, arrays, enumerations, operators, expressions, statements, and procedures, some of the new features of Visual Basic are
Assemblies: An EXE or a DLL file that forms the basis of deployment, version control, reuse, and security permissions of an application.
Namespaces: The components of assemblies, namespaces primarily organize the objects present in the assemblies. An assembly can contain more than one namespace.
Adding references: You need to add a reference to the external object that you want to use in your current application.
Attributes: The tags that are used to provide additional information about the elements defined in a Visual Basic .NET program. Some of the most common uses of attributes are
To explain COM properties for classes, interfaces, and methods
To explain assemblies
To specify security requirements of methods
To specify features required to enforce security
Inheritance: Enables you to create classes that are derived from some other classes known as base classes. Inheritance provides you the advantage of defining a class only once. You can then reuse this functionality by deriving new classes from this class.
Windows Forms: With a new forms package called Windows Forms, Visual Basic .NET allows the developers to inherit a form from an existing form.
Structured exception handling: Enables you to create more efficient and robust error handlers by using structured exception handling, which allows you to detect and remove errors at runtime.
Multithreading: Enables your applications to handle multiple tasks simultaneously.