title: Not valid entry point c# http client
body: <p>i'm learning how to create a c# http client. i'm following microsoft docs, but i can't compile the code, beacuse i get the following error: "The program doesn't contain a method static Main as an entry point. This is the code:</p>
  
  <pre><code>namespace WebAPIClient
  {
      class Program
      {
          private static readonly HttpClient client = new HttpClient();
  
          static async Task Main(string[] args)
          {
              //...
          }
      }
  }
  </code></pre>
  
  <p>I wasn't able to find something useful on internet. Thank you for your help</p>