This code uses .NET 8.
You must have installed .NET 8 SDK, to be able to compbile the code. The C# syntax is matching C# 10, so that if you do not have the Visual Studio 2022 and later, you can still work with the code.
You can install .NET SDK 8 from https://dotnet.microsoft.com/en-us/download/dotnet/8.0