title: Private nested static class - Good or bad practice?
body: <p>Would it be considered a bad practice to nest a private static class inside of a non-static class?</p>
  
  <pre><code>public class Outer
  {
      private static class Inner
      {
  
  
      }
  }
  </code></pre>
  
  <p>The idea here is that all instances of 'Outer' would share access to the static state. Another way to do it might be to just let the Inner class be non-static and use a static instance of it:</p>
  
  <pre><code>public class Outer
  {
      private static innerInstance = new Inner(); 
  
      private class Inner
      {
  
  
      }
  }
  </code></pre>
  
  <p>Similar effect. What are the pros / cons or other considerations with this approach? </p>
  
  <p>I must admit that I almost <b>never</b> use nested classes, whether static or not, but I am interested in this particular concept..</p>