Top "Namespaces" questions

A namespace is a container that provides context for identifiers, within which names are unique.

How do I add multiple namespaces to the root element with XmlDocument?

I need to create an XmlDocument with a root element containing multiple namespaces. Am using C# 2.0 or 3.0 Here is my …

c# .net xml namespaces xmldocument
Defining a class within a namespace

Is there a more succinct way to define a class in a namespace than this: namespace ns { class A {}; } I …

c++ class syntax namespaces definition
Django: "projects" vs "apps"

I have a fairly complex "product" I'm getting ready to build using Django. I'm going to avoid using the terms "…

python django namespaces project-organization
How do you find the namespace/module name programmatically in Ruby on Rails?

How do I find the name of the namespace or module 'Foo' in the filter below? class ApplicationController < ActionController::…

ruby-on-rails ruby namespaces
Why am I getting PHP Fatal error: Uncaught Error: Class 'MyClass' not found?

This works: class MyClass { public $prop = 'hi'; } class Container { static protected $registry = []; public static function get($key){ if(!array_key_…

php oop dependency-injection namespaces autoloader
How to use composer packages in codeigniter?

I've followed this article: http://philsturgeon.co.uk/blog/2012/05/composer-with-codeigniter But I get Fatal error: Class 'Buzz\Browser' not found. …

php namespaces codeigniter-2 composer-php
Global scope vs global namespace

I saw usages of these two phrases: global scope and global namespace. What is the difference between them?

c++ namespaces scope terminology
Namespace "stuck" as Terminating, How do I remove it?

I've had a "stuck" namespace that I deleted showing in this eternal "terminating" status.

kubernetes namespaces
Remove namespace and prefix from xml in python using lxml

I have an xml file I need to open and make some changes to, one of those changes is to …

python xml namespaces lxml
Should the folders in a solution match the namespace?

Should the folders in a solution match the namespace? In one of my teams projects, we have a class library …

c# .net namespaces