[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
namespace

(general) namespace

A namespace is a collection of entities. To put it more simply it's like a family of objects. For instance in C++ namespace entities could be referenced as foo::bar and foo::nobar, foo being the namespace and bar and nobar being the entities. XML references namespace entities in a very alike way.

The purpose of a namespace is to minimize the possibility of duplicating names. So, where as before you couldn't have two bars, now you can have foo::bar and bar::bar.

Namespace in specific languages



last edited (September 16, 2005) by bilderbikkel, Number of views: 2230, Current Rev: 4 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 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 Tore Nestenius at .NET Consultant - Synchron Data.