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

.NET

1697 readers
22 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 :)

top 10 comments
sorted by: hot top controversial new old
[–] Kissaki 4 points 5 days ago* (last edited 5 days ago) (2 children)

Best code suggestion ever

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

[–] Dumhuvud 12 points 5 days ago (1 children)

Welcome to Copilot-driven development! Enjoy your stay!

[–] [email protected] 2 points 5 days ago

( ͡° ͜ʖ ͡°)

[–] DrDeadCrash 4 points 4 days ago

Is this what they mean by Reflection?

[–] [email protected] 3 points 5 days 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 4 points 5 days 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.

[–] DrDeadCrash 2 points 5 days ago (1 children)

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

[–] [email protected] 1 points 4 days ago

wow, interesting. I overlooked it, thanks for sharing

[–] [email protected] 3 points 5 days ago

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

[–] Kissaki 1 points 5 days ago

Ooh, nice, no need for dotnet script anymore.