title: Internal class access modifier doesnt work?
body: <p>I really dont understand why, but it seems like the internal access modifier doesn't work :S</p>
  
  <p>I've looked at this tutorial:
  <a href="http://msdn.microsoft.com/en-us/library/7c5ka91b(v=vs.110).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/7c5ka91b(v=vs.110).aspx</a></p>
  
  <p>But for me, it compiles.
  ALso, i have a bought a book Illustrated C# 2012. And the author explains the internal class etc etc... But still, it doesn't do anything.</p>
  
  <p>Here is my complete code that works EVEN with internal access.</p>
  
  <pre><code>//Program.cs
  namespace ConsoleApplication1
  {
      class Program
      {
         static void Main(string[] args)
         {
             Class1 myclass = new Class1(); //works
             myclass.display(); //works
             myclass.display2(); //works even though its not public :S
             Console.Read();
         }
      }
  }
  </code></pre>
  
  <p>-</p>
  
  <pre><code>//Class1.cs
  namespace ConsoleApplication1
  {
      internal class Class1
      {
         public void display()
         {
             Console.WriteLine("display()");
         }
  
         internal void display2()
         {
             Console.WriteLine("display2()");
         }
      }
  }
  </code></pre>
  
  <p>I can even access the function internal void display2() :S</p>