title: Console closing instantly not going through the code
body: <p>Just been learning C# methods on SOLO LEARN,  i'm on method parameters the app have it's own compiler and totally different from visual studio so i can't get this code to work. When i try to run the console it closes instantly even tho i have Console.Read();</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  
  namespace ConsoleApplication2
  {
      class Program
      {
          static void Main(string[] args)
          {
  
  
          }
  
          void myFunc(int x)
          {
              int result = x / 2;
              Console.WriteLine(result);
              Console.Read();
          }
      }
  }
  </code></pre>