❔ ✅ Need help setting up Visual Studio

Hello, this is my first post 🙂 I'm trying to get started with C# by following Brackey's videos, but his VS Code looks different than mine, and I'd like to be able to follow along with him.

I've implemented the '--use-program-main' to get it to look like his video, but now it's not properly debugging.

I've read I should disable the use of top-level statements, but I don't know where to find that option.

Here's the error screen I get after trying to run it.

For reference, I installed VS Code and .NET 7.0
Visual_Studio_Error_Message.png
Was this page helpful?