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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business