title: Using a class in a namespace with the same name?
body: <p>I have to use an API provided by a DLL with a header like this</p>
  
  <pre><code>namespace ALongNameToType {
      class ALongNameToType {
          static void Foo();   
      }
  }
  </code></pre>
  
  <p>Is there a way to use ALongNameToType::ALongNameToType::Foo without having to type ALongNameToType::ALongNameToType each time? I tried using <code>using namespace ALongNameToType</code> but got ambiguous symbol errors in Visual Studio. Changing the namespace name or removing it gives me linker errors.</p>