21

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

top 10 comments
sorted by: hot top new old
[-] Kissaki@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Best code suggestion ever

Is this suggesting the next code? A change? Either way it looks like nonsense!?

[-] Dumhuvud@programming.dev 12 points 1 year ago

Welcome to Copilot-driven development! Enjoy your stay!

( ͡° ͜ʖ ͡°)

[-] DrDeadCrash@programming.dev 4 points 1 year ago

Is this what they mean by Reflection?

[-] JackAttack@lemmy.dbzer0.com 3 points 1 year ago

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 year 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.

[-] fibojoly@sh.itjust.works 3 points 1 year ago

So we can finally be rid of Powershell hellish syntax and just use C#?!

[-] DrDeadCrash@programming.dev 2 points 1 year ago

Looking forward to combining this with CSnakes for seamless(?) interop w/pyhon: https://www.youtube.com/watch?v=fDbCqalegNU

[-] vermaterc@lemmy.ml 1 points 1 year ago

wow, interesting. I overlooked it, thanks for sharing

[-] Kissaki@programming.dev 1 points 1 year ago

Ooh, nice, no need for dotnet script anymore.

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

.NET

1869 readers
1 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 3 years ago
MODERATORS