Dot Net Base Class Library

By: Stephen Patrick | 05 Jul 2016 | Category: CSharp Introduction

.Net Base Class Library

The .Net Base class library provides data types for commonly used behaviours. The .net base class libraries provide you with functionality that you can incorporate into your programs. The base class library provides functionality such as I/O Input and output processing, thread processing, graphics, security, remoting, database processing, and Graphical user interfaces to name a few.

Dot Net Base Class Library

The base class library is available to all .Net languages as it supports the .Net common type system. The types that the base class library offers can be used to build many different types of real world applications. For example, you can build native Windows applications, Web Applications, Windows Services, and Shared Libraries etc.

The Dot Net base class library is intrinsically related to other .Net Framework components. These components include Common Language Runtime, Common Language Specification, and the Common Type System. As mentioned the .NET class library includes many data types that you can take advantage of within your application. The types are sometimes organized into different categories, such as Windows Presentation Foundation (WPF) for creating windows desktop applications, ADO.Net for interacting with SQL databases etc. When working on a .Net Application, it is normally a good idea to check the base class libraries for functionality that you require, rather than reinventing the wheel.

The base class library is organized into a number of namespaces. These include:

System

The System namespace includes most of the common functionality and base datatypes such as object, string, int32, int64, DateTime, Boolean etc.

System.CodeDom

Support to run and execute code

System.Collections

Defines various data structures such as List, Dictionary etc.

System.Diagnostics

Types for event logging, process management, performance counters to name a few.

System.Globalization

Types for Globalization, aids in localizing an application for a different, culture / locale.

System.IO

Includes common types for working with input output streams.