Why is my private enum still visible to other classes
<p>I have an enum <code>_levels</code> which is declared as private but it's still accessible to other classes.
What I want is to access it by using a property.</p>

<p>Please consider my code below.</p>

<p>Thanks.</p>

<pre><code>public sealed class TestClass
{
    private static TestClass instance = new TestClass();
    private enum _levels { A, B, C, D, E, F, G, H, ASE, SE, SSE, TL, AM };                  

    public TestClass(){}

    public static TestClass Instance
    {
     get { return instance; }
    }   

    public _levels Levels
    {
        get { return _levels; }         
    }
}
</code></pre>
