When writing your code, you may at times create lengthy statements that necessitate horizontal scrolling in the Code Editor.
The #Region directive enables you to collapse and hide sections of code in Visual Basic .NET files.
You can set conditional compilation constants in one of three ways.
You can use conditional compilation to select particular sections of code to compile while excluding other sections.
Any program element - such as a variable, class, or member - can have the same name as a restricted keyword.
A structure is a value type that derives implicitly from System..::.ValueType, which in turn is derived from System..::.Object.
A class is a reference type that can be derived directly from another class and that is derived implicitly from System..::.Object.
Visual Basic .NET adds support for structured exception handling, and continues support for unstructured exception handling.
Visual Basic .NET updates several statements controlling the flow of execution.
The Silverlight 2 Software Development Kit (SDK) includes two ASP.NET server controls, the MediaPlayer control, and the Silverlight control.
Visual Basic .NET updates the declaration of property procedures and arguments for simplification and interoperability with other programming languages.
Visual Basic .NET updates default property support for simplification and improved readability.
The following is the normative grammar for a string that is used as a name or key in Silverlight.
Configures XAML compilation to join partial classes between markup and code-behind.
Silverlight uses a particular implementation of a XAML parser, with that parser being part of the client libraries for Silverlight.
Visual Basic .NET introduces several changes related to the declaration of procedures.
Visual Basic .NET introduces several changes affecting procedure-calling sequences. These changes improve syntax consistency.
Visual Basic .NET introduces several changes affecting the mechanism of passing arguments to procedures.
Provides a value for any XAML property attribute by evaluating a reference to an already defined resource.
Visual Basic .NET introduces a number of changes that affect the declaration and usage of classes and interfaces.
Visual Basic .NET updates the mechanism for preserving compatibility with older versions of a component.
Visual Basic .NET revises object creation for improved readability and to support constructors with arguments.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article