title: Converting a C# Console App to a DLL
body: <p>I am rewriting the Betfair API to JSON from SOAP and I have started off the way I did it before as a console APP which is then called from a task scheduler or win service.</p>
  
  <p>However now I have been asked to do various different jobs with the code and I don't want to write a console app for each job (different sites want prices, bets placed etc)</p>
  
  <p>The new codebase is much larger than the old one and I would have been able to copy the 4 files from the old system into a DLL app and then create various console apps/services to implement the DLL - however because it's 40+ files I don't want a copy n paste job if possible.</p>
  
  <p>Is there a way I can EASILY convert an existing console project into a class / DLL project with some tool or command in VS?</p>
  
  <p>I want to be able to just then create simple apps that just go</p>
  
  <pre><code>BetfairBOT myBOT = new BetfairBOT()
  myBOT.RunGetPrices();
  </code></pre>
  
  <p>or </p>
  
  <pre><code>BetfairBOT myBOT = new BetfairBOT()
  myBOT.RunPlaceBets();
  </code></pre>
  
  <p>e.g 2/3 lines of code to implement my DLL that is registered to my app.</p>
  
  <p>So without copy and paste can I do this.</p>
  
  <p>I am using VS 2012, .NET 4.5 (or 4.0 if I need to depending on server), Windows 8.1</p>
  
  <p>Any help would be much appreciated.</p>