top | item 40770872

(no title)

atlantic | 1 year ago

There is already a C# REPL built into Visual Studio, called C# Interactive. It takes a bit of getting used to, but it's not bad at all.

discuss

order

mattmanser|1 year ago

Echoing the other comment, personally I find the C# interactive really frustrating to use. So close and yet so far.

I often find it quicker/less frustrating to just fire up a new console app project.

Last time I tried to use it I think it was even running an old version of .Net and you have to remember to switch the version.

misterflibble|1 year ago

Yes I saw the REPL in VS 2022 and Jetbrains Rider, but I still prefer having this utility at hand with a collection of scripts ready whenever I need to script up something, or experiment with a service or database, or learn something new in .NET.

recursive|1 year ago

Not even in the same zip code.