Please take a look at this thread where the same question was answered:
Create and Run Simple C# Console Applications - Trophy - Create and Run Simple C# Console Applications - C# - The freeCodeCamp Forum