title: Compiler Error CS0117
body: <p>I have two Projects in one Solution and I want to call a Method from Project1 in Project 2. I already refered the Namespace of Project1 in Project2. The Method from Project1 looks like this:</p>
  
  <pre><code>public void pauseCapturing(bool checkPause)
      {
          if (checkPause)
          {
              backgroundThread.Suspend();
          }
          else
          {
              backgroundThread.Resume();
          }
      }
  </code></pre>
  
  <p>In Project2 I call that Method like that:</p>
  
  <pre><code>private void buttonPause_Click(object sender, EventArgs e)
      {
          buttonPause.Enabled = false;
  
          NamespaceProject1.Class.pauseCapturing(true);
      }
  </code></pre>
  
  <p>When I try to run the code i get the following error:</p>
  
  <blockquote>
    <p>Error 1   'NamespaceProject1.Class' does not contain a definition for
    'pauseCapturing'</p>
  </blockquote>
  
  <p>I didn't really found a helpful answer to solve my problem.</p>