This documentation is archived and is not being maintained.

Namespace Changes in Visual Basic .NET

Namespaces may at first seem to be a new concept in Visual Basic .NET; conceptually they are similar to object libraries in Visual Basic 6.0.

In Visual Basic 6.0, various libraries contained objects that were used to build an application. For example, the Visual Basic library contained the form object and intrinsic control objects that were the foundation of a Windows application. You could see the objects contained in a given library by viewing it in the Object Browser.

In Visual Basic .NET, objects are contained in assemblies that are part of the .NET Framework Class Library. Each assembly represents a namespace. For example, form and control objects are contained in the System.Windows.Forms namespace. As in Visual Basic 6.0, namespaces can be inspected in the Object Browser.

See Also

Introduction to the .NET Framework Class Library in Visual Studio