Chapter 5. The .NET Framework Class Library

VB .NET is about classes, classes, and more classes. Even something as simple as a string is implemented in a class (the String class of the System namespace). As we mentioned in Chapter 4, the .NET Framework defines an extensive network of classes and namespaces called the Framework Class Library (FCL). This consists of a set of namespaces called the Base Class Library (BCL) that provide basic system services (like the System namespace, whose classes define .NET data types, provide exception handling, and handle garbage collection, among other things). It also includes additional namespaces, such as System.Data, System.Windows.Forms, and System.Web.UI, which provide application services. In total, there are over 90 namespaces containing several thousand classes, interfaces, structures, enumerations, and other items (such as delegates) in the .NET Framework Class Library.

The System namespace is at the top of the namespace hierarchy, and the Object class is at the top of the object hierarchy. All types in the .NET Framework Class Library derive from the Object class.

The .NET Framework Class Library is sufficiently extensive to require an entire book for its description. In this chapter, we provide just a brief introduction and some examples. This should prepare you to dive into the Microsoft Class Library documentation. Note also that the reference portion of this book, Chapter 8, documents selected language elements from the Base ...

Get VB .NET Language in a Nutshell 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.