What is the purpose of a private class in c#?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3235283/is-it-possible-to-have-a-private-class">Is it possible to have a private class?</a>  </p>
</blockquote>



<p>Please explain why a developer would create private class. What is the purpose of a private class?</p>

<p>Example:</p>

<pre><code>private class ClassB
  {
     public DoSomething()
     {
     }
  }
</code></pre>
