What are namespaces and what is the importance of them?

A namespace is a collection of different classes which are built into .NET. This very much like packages in Java. You need to import these namespaces to work with any .NET language. All the functionality of .NET is within these namespaces. The main namespace is the System namespace and all other namespaces are built into this System namespace.

Some of these namespaces and what they are used for are summarized below.

  • System: Includes essential classes and base classes that define commonly used Data Types, events, interfaces, attributes etc.
  • System.Data: Includes classes that make up ADO.NET and allows to build data-handling components.
  • System.Drawing: Provides access to graphics that gives access to drawing methods.
  • System.IO: Provides access to writing data streams and Files.
  • System.Net: Provides interface to many protocols used on the Internet.
  • System.Security: Includes classes to support the security system.
  • System.Threading: Includes classes that support threading.
  • System.Web.Services: Includes classes for creating and using Web Services.
  • System.Windows.Forms.: Includes classes for creating windows based applications.


Written by Sandeep Mogulla, Webmaster at www.startvbdotnet.com

Index



 
Printer friendly version of the FAQ-VBNET-Namespace page


Sponsored links

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
Villanova University Six Sigma & IT Certificate Programs
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
ASP.NET 3.5 Hosting on Windows 2008!
ASP.NET 3.5/2.0 Hosting on Windows 2008 & 2003! AJAX, LINQ, & Silverlight Ready! 3 Mo. Free!!

Advertisement



Free Magazine

Free Magazines
eWeek The essential technology information source for builders of e-business.... subscribe now

Newsletter | Submit Content | About | Advertising | Awards | Contact Us | Link to us |
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Synchron Data - .NET development.