Building console apps using Visual Studio 2022
The goal of this section is to showcase how to build a console app using Visual Studio 2022 for Windows.
If you do not have a Windows computer or want to use Visual Studio Code, then you can skip this section since the code will be the same; just the tooling experience is different. But I recommend that you review this section because it does explain some of the code and how top-level programs work, and that information applies to all code editors.
This section is also available in the GitHub repository (so it can be updated after publishing if needed) at the following link:
https://github.com/markjprice/cs12dotnet8/blob/main/docs/code-editors/vs4win.md
If you want to see similar instructions for using JetBrains Rider, they are available in the GitHub repository at the following link:
https://github.com/markjprice/cs12dotnet8/blob/main/docs/code-editors/rider.md
Writing code using Visual Studio 2022
Let’...