News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

NameSpace in C#

Started by VelMurugan, Jan 27, 2009, 04:41 PM

Previous topic - Next topic

VelMurugan

NameSpace in C#

There are almost 13,000 classes in the .NET Framework. This is an overwhelming number.

If Microsoft simply jumbled all the classes together, then you would never find anything.

Fortunately, Microsoft divided the classes in the Framework into separate namespaces.

A namespace is simply a category. For example, all the classes related to working with the file system are located in the System.IO namespace.

All the classes for working a Microsoft SQL Server database are located in the System.Data.SqlClient namespace. Before you can use a class in a page, you must indicate the namespace associated with the class.

Source : csharpthegreat