Monday, May 11, 2009

What is Base Class Library?

The .NET Framework provides a set of hierarchical objects, broken down by functionality, called the Base Class Libraries. The classes provide a set of common OO interfaces that are accessible from any .NET language.

The BCL is divided into namespaces, which define a naming scheme for classes, such as Web classes, Data classes, Windows Forms, XML classes, Enterprise services, and System classes.

By implementing a naming convention, it is easy to separate the class functionalities into categories. For example, the System namespace has the following top-level Data classes-
System. Data
System.Data.Common
System.Data.OLEDB
System.Data.SqlClient
System.Data.SqlTypes
Each of these namespaces is broken down further into more granular classes, which define the methods, fields, structures, enumerations, and interfaces that are provided by each type. The System class provides the base services that all .NET languages will include-such as IO, arrays, collections, security, and globalization.

No comments:

Bookmark and Share