title: Why on partial Classes like Winforms internal classes (classes by default inside app) don't work?
body: <p>I have a Class named Person (Internal Class Person) and wanted to intiate on a winform.</p>
  <pre><code>internal class Person
      {
          public string Name { get; set; }
          public byte Age { get; set; }
  
         public Person(string name, byte age)
          {
              Name = name;
              Age = age;
  
          }
  
  
  }
  </code></pre>
  <p>Let's say i want to create it within a class named &quot;NewClass&quot; so i would do the following:</p>
  <pre><code>  class NewClass
      {
          public Person John;
      
          Clase2()
          {
              
              this.John.Age = 33;
             
      
          }
      }
  </code></pre>
  <p>However whenever i try to do it on a Win form:</p>
  <pre><code>public partial class Form2 : Form
      {
          public Person Sam;
  
          public Form2()
          {
              InitializeComponent();
              //   Person test = new Person();
              this.Sam.Age = 33;
  
      }
  }
  </code></pre>
  <p>I get the following message:</p>
  <blockquote>
  <p>Error CS0052  Inconsistent accessibility: field type 'Person' is less
  accessible than field 'Form2.Sam' Prueba Clase
  Persona   D:\Documents\Clases C#\Prueba\Prueba Clase
  Persona\Form2.cs  15  Active</p>
  </blockquote>
  <p>Is that because System.Windows.Forms, is a reference outside my &quot;app&quot; ?
  Because whenever i make the class Person Public, instead of Internal, the debugger accepts it.</p>