by sherdil2022 on 5/23/2025, 7:15:56 PM
by p_ing on 5/23/2025, 6:48:20 PM
Adding she-bang support for dotnet run, being able to execute a .cs file is really neat. I can see this being used for simple "shell" scripts with a more sane syntax compared to bash/zsh.
This is great! PowerShell is indeed powerful - and it also allows loading assemblies and such - but got bit by it one too many times. Running CSharp code directly via dotnet run is great! And hoping to get features that PowerShell already offers - which is to return / pass objects.