title: Does not contain a definition for and no extension method accepting a first argument of type could be found
body: <p>I've looked around at some of the solutions to this problem but they don't seem to be the same as what I'm experiencing.</p>
  
  <p>Method that I'm trying to call:</p>
  
  <pre><code>namespace BetfairAPI
  {
      public class CBetfairAPI
      {
          public ArrayList placeBets(ArrayList betList, double stakeSize)
          {
              // code to betList maniplulate
  
              return betList;
          }
      }
  }
  </code></pre>
  
  <p>Method that I'm calling from:</p>
  
  <pre><code>namespace Bot
  {
      public partial class Form1 : Form
      {
              private void makeBets(MarketSummary mkt, double odds, double stakeAmt)
              {
                  ArrayList betList = new ArrayList();
  
                  // code to build "betList"
  
                  ArrayList bets = MyBetfair.placeBets(betList, stakeAmt);
  
              }
          }
      }
  }
  </code></pre>
  
  <p>Error that I'm receiving:</p>
  
  <blockquote>
    <p>Error 1   'BetfairAPI.CBetfairAPI' does not contain a definition for<br>
    'placeBets' and no extension method 'placeBets' accepting a first
    argument of type 'BetfairAPI.CBetfairAPI' could be found (are you
    missing a using directive or an assembly reference?)</p>
  </blockquote>
  
  <p>I have no problem using any other methods in the CBetfairAPI class. placeBets() doesn't show up in the drop down menu in Visual studio if I do 'CBetfairAPI.' (all the other methods and fields do).</p>
  
  <p>Thanks for your help.</p>