To compile:
sudo pacman -S dotnet-host dotnet-runtime dotnet-sdk dotnet build
To run:
./My/bin/Debug/net8.0/MyClass # or sudo pacman -S mono mono My/bin/Debug/net8.0/MyClass.dll