Top "Using-directives" questions

The `using` directive, available in several languages including C# and C++, introduces members of a namespace into the current identifier search scope.

Default using directives in new C# files

Why does Visual Studio 2008 automatically insert the following using directives into each new C# file I create? using System; using …

visual-studio default using-directives
What's this C# "using" directive?

I saw this C# using statement in a code example: using StringFormat=System.Drawing.StringFormat; What's that all about?

c# using using-directives
where to put using namespace std;

I'm wondering where to put using namespace std;. I saw a code with the using namespace std; in the int …

c++ namespaces using-directives
using directive vs using declaration swap in C++

Please refer to the code below: #include <algorithm> namespace N { template <typename T> class C { public: …

c++ swap using-directives using-declaration
C++11 `using` keyword: specialize template alias of template parameter

I had a problem today using the using keyword in C++11. I decided to use another approach now (added as …

c++ templates c++11 using-directives
Namespaces and Using Directives

If I have a namespace like: namespace MyApp.Providers { using System; using System.Collections.Generic; using System.Configuration; using System.…

c# namespaces using-directives
What requires me to declare "using namespace std;"?

This question may be a duplicate, but I can't find a good answer. Short and simple, what requires me to …

c++ namespaces include using using-directives
Ordering of using namespace std; and includes?

I recently saw this code being used in a source file in a C++ project: using namespace std; #include <…

c++ language-lawyer using-directives
C# using namespace directive in nested namespaces

Right, I've usually used 'using' directives as follows using System; using System.Collections.Generic; using System.Linq; using System.Text; …

c# namespaces using-directives