Question: List of some
important and frequently used .NET namespaces.
NameSpace is the Logical group of types or we can say namespace is a container (e.g Class, Structures, Interfaces, Enumerations, Delegates etc.), example System.IO logically groups input output related features , System. Data. SqlClient is the logical group of ado.net Connectivity with Sql server related features.
- System: It includes all classes and interfaces, which defines data types, events, interfaces etc.
- System.Collections: It includes classes and interfaces which contained defination for collections object such as list,array,hashtables etc.
- System.Data: It includes classes, which makes up ADO.NET, which is used to build data handling components.
- System.Drawing: It provides access to the graphic functionality.
- System.Data.OleDb: It includes classes, which support OLEDB.NET data provider.
- System.Data.SqlClient: It includes classes, which support the SQL server.
- System.IO: It includes types which support reading from and writing to both data streams and files.
- System.net: It provides an interface to protocols using on the Internet.
- System.Reflection: It includes interfaces and classes, which returns information about methods, fields, and types .It is able to dynamically create and invoke types.
- System.Security: It includes classes, which support the Common Language Runtime security system.
- System.Threading: It includes classes and interfaces, which supports for multithreaded programming.
- System.Web: It includes classes and interfaces, which support browser/server communication.
- System.Windows.Forms: It includes classes for creating window based forms.
- Namespace can be created using “namespace” keyword and using keyword is the creation of aliases for namespaces.