title: Access to internal classes from another project
body: <p>I'm wondering if it's possible to access internal class variables from other project in c#. I know that is impossible in regular use, I explain it below.</p>
  
  <p>I have one project (P1 [class library]) containing those classes...</p>
  
  <pre><code>internal class Settings
  {
      public static long size {get;set;}
  
      public static DoSomethingInternalOnly()
      {
      }
  }
  
  public class Program
  {
      public static Main()
      {
  
      }
  }
  </code></pre>
  
  <p>... and another one (P2) containing:</p>
  
  <pre><code>public class Program
  {
      public static Main()
      {
          //P1.CopyOfSettings.size = 2048; ???
      }
  }
  </code></pre>
  
  <p>In Settings class I store internal variables (and methods) for app which cannot be visible from other projects. But those settings need to be passed somehow from P2 to P1 so I need second class "Settings2" in P2 containing the same variables (variables only!) as "Settings" with public keyword. </p>
  
  <p>I feel that creating several classes containing the same variables is a waste of time and makes code unreadable. Is there better way to accomplish this?</p>