3 ms·
No projects just C# with `dotnet run app.cs` [video]
- p_ing 1y agoAdding 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.
- sherdil2022 1y agoThis 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.