title: Inconsistent accessibility: parameter type 'x' is less accessible than method 'y'
body: <pre><code>public partial class buyer : Form
  {
  
     Client AbClient;
      public buyer(Client cli)
      {
          InitializeComponent();
  
          AbClient = cli;
      }
  </code></pre>
  
  <p>The function in which is throwing up the error.</p>
  
  <pre><code>public class Client {
  }
  </code></pre>
  
  <p>Client is the class where the problem seems to be.</p>
  
  <pre><code>private void CheckAuth()
      {
          while (true)
          {
              if (!sAuth.IsAlive)
              {
                  if(abClient.isAuthSucessful)
                      Application.Run(new buyer(abClient));
                  break;  
              } 
          }
      }
  </code></pre>
  
  <p>This is where the Autobuyer form is called from. (Inside the first form which is started by the main())</p>
  
  <p>I still don't know how to fix this, I've of course searched but no one seems to have the answer that works in my situation.</p>