Top "Namespaces" questions

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

Class 'App\Http\Controllers\DB' not found and I also cannot use a new Model

I have very basic problem. In L4 thes below methods worked out of the box, so now I am lost. …

php laravel namespaces models laravel-5
'namespace' but is used like a 'type'

This is my program the class uses it is called Time2 I have the reference added to TimeTest I keep …

c# class namespaces
Get type name without full namespace

I have the following code: return "[Inserted new " + typeof(T).ToString() + "]"; But typeof(T).ToString() returns the full name including …

c# namespaces typeof
Troubleshooting "The use statement with non-compound name ... has no effect"

Getting this error when I put use Blog; at the top. Warning: The use statement with non-compound name 'Blog' has …

php namespaces
Visibility of global variables in imported modules

I've run into a bit of a wall importing modules in a Python script. I'll do my best to describe …

python namespaces mysql-python python-2.6 python-import
Adding System.Web.Script reference in class library

I am currently moving code from my app_code folder to a class library. I have tagged several methods with […

asp.net namespaces class-library
"Could not load type [Namespace].Global" causing me grief

In my .Net 2.0 Asp.net WebForms app, I have my Global.asax containing the following code: <%@ Application CodeBehind="Global.…

c# asp.net webforms namespaces global-asax
What is tempuri.org?

Why does tempuri.org exist? Why does each XML Webservice require its own namespace, unique from any other on the …

web-services namespaces
Why are unnamed namespaces used and what are their benefits?

I just joined a new C++ software project and I'm trying to understand the design. The project makes frequent use …

c++ oop namespaces
System.drawing namespace not found under console application

I selected console application as my C# project. But the imports that seemed to work under windows form project doesnt …

c# namespaces bitmap console-application