spacer
Yehuda Shiran May 19, 2002
What's in a Namespace?
Tips: May 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

The .NET Framework supports a lot of classes that you can reuse. These classes can help you in creating forms, buttons, text boxes, and almost everything else that may be shared between applications. Classes in the .NET Framework are organized in namespaces. Each namespace includes one or (usually) more classes that are related to each other. The System namespace, for example, includes system-related classes such as Console. The .NET Framework's namespaces are organized in a hierarchical manner. Here are three namespaces which have three-level hierarchical names:

  System
  System.Web
  System.Web.Services
Each of the above three namespaces includes different classes: the System namespace includes system-related classes, the System.Web namespace includes Web-related classes, and the System.Web.Services namespace includes Web services-related classes. There is no inclusion relationship between the three namespaces. The System namespace does not include the System.Web's classes. Similarly, the System.Web.Service's namespace does not include the System.Web's classes.

To learn more about JScript .NET, go to Column 109, JScript .NET, Part III: Classes and Namespaces.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji