title: Error CS0017 "Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point." problem
body: <p>I opened a new project right now, and I opened a new class there with a &quot;Main&quot; inside it.
  I already read whole over the internet about it and I already got that it happens because I have more than one &quot;Main&quot; method, but I read that when you choose inside the - <em>Properties --&gt; Startup object</em> - your &quot;Main&quot; that you want to open it should be fixed.</p>
  <p>The problem is that it doesn't show them at all.
  What am I suppose to do?</p>
  <p>That's the Error:</p>
  <blockquote>
  <p>CS0017    Program has more than one entry point defined. Compile with /main to specify the type that contains the entry point.</p>
  </blockquote>
  <p><strong>My classes:</strong></p>
  <p>First -</p>
  <pre><code>using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace BeginnerProject
  {
      internal class Program
      {
          static void Main(string[] args)
          {
              
          }
      }
  }
  </code></pre>
  <p>Second -</p>
  <pre><code>using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace BeginnerProject
  {
      internal class FakeCoin
      {
          static void Main(string[] args)
          {
              Console.WriteLine(&quot;Hi&quot;);
          }
      }
  }
  </code></pre>
  <p>Third -</p>
  <pre><code>using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace BeginnerProject
  {
      internal class WhyLikeThat
      {
          static void Main(string[] args)
          {
              
          }
      }
  }
  </code></pre>
  <p><strong>Properties:</strong></p>
  <p><a href="https://i.stack.imgur.com/5wkYV.png" rel="nofollow noreferrer">https://i.stack.imgur.com/5wkYV.png</a></p>