title: "using" statement locations within namespace declarations
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/125319/should-usings-be-inside-or-outside-the-namespace">Should Usings be inside or outside the namespace</a>  </p>
  </blockquote>
  
  
  
  <p>I'm supporting some code that, unusually, has all its using statements contained within the namespace declaration. It makes me a bit uncomfortable but I have no idea if this should be anything to be concerned about or not. I can't think of an immediate problem other than it being counter to usual convention.</p>
  
  <p>Is there anything wrong with:</p>
  
  <pre><code>namespace myProject.controls
  {
      using System;
      using System.Collections;
      using System.Data;
      using System.Drawing;
      using System.Web;
      using System.Web.UI.WebControls;
      using System.Web.UI.HtmlControls;
  </code></pre>
  
  <p>Instead of the more widely-used:</p>
  
  <pre><code>using System;
  using System.Collections;
  using System.Data;
  using System.Drawing;
  using System.Web;
  using System.Web.UI.WebControls;
  using System.Web.UI.HtmlControls;
  
  namespace myProject.controls
  {
  </code></pre>