title: For unit testing how to make a namespace derived?
body: <p>I have two namespaces:</p>
  <pre><code>namespace MyNamespace
  </code></pre>
  <p>and</p>
  <pre><code>namespace MyNamespace.Test
  </code></pre>
  <p>the second one is for Unit Testing. I don't want to make the classes within &quot;MyNamespace&quot; public but I want the unit tests to be able to access them. I tried internal because from the <a href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers" rel="nofollow noreferrer">Access Modifier documentation</a> I had assumed that &quot;MyNamespace.test&quot; would be derived but it's not working. Do I use a different access modifier or is my namespace wrong?</p>