this post was submitted on 26 May 2025
21 points (100.0% liked)

.NET

1754 readers
1 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 2 years ago
MODERATORS
 

Like dotnet run app.cs. C# is becoming a scripting language :)

you are viewing a single comment's thread
view the rest of the comments
[โ€“] JackAttack@lemmy.dbzer0.com 3 points 1 month ago (1 children)

Not able to watch the video at the moment but this would mean the language can both be used as like powershell but also for large projects as well?

I get you can sort of do this in powershell too (breakkng down into objects and multiple files) but does anyone know of any major changes this may cause to development?

Semi new .Net Dev thats curious about the dotnet future

[โ€“] kogasa@programming.dev 4 points 1 month ago

I doubt this would change anything that was already built in C# but it enables the use of C# for smaller independent scripts. Stuff you might use Python, Bash or Powershell for. It still requires a runtime so not quite as portable as Bash/Pwsh but I'd take a C# script over a Python one most days.