chapter 2: Installation.
Installing the C# compiler.
before we start you have to install the C# compiler and package manager. It's called dotnet
- Go to the dotnet download page.
- Under the latest version, at the time of this book's writing dotnet9, click on the "Download .NET SDK" Link.
- Launch the installer and follow the installation steps.
after the installation is successful, to confirm everything is running, first, open your system's terminal.
- On windows:
- press windows+r.
- type cmd and press enter.
- On macos:
- open spotlight, cmd+space.
- and type terminal, then press enter.
- On linux: press ctrl+alt+t.
after opening the terminal, type
dotnet --version
if you got something similar to
9.0.101
Note that numbers shouldn't exactly match, in jan 2025, dotnet9 is the latest version, this might not be the case for you, so it's fine if it was dotnet10.
if everything is well, then you are ready to continue on, otherwise, try a reinstall.