6 ms·
I've used the Mono REPL (in my distro the binary is called "csharp") with no issues for trying out code.
by mixedCase 10y ago
I've used the Mono REPL (in my distro the binary is called "csharp") with no issues for trying out code.
- m_fayer 10y agoThe Visual Studio REPL is much more polished and feature-rich. It has basically the same code editor and intellisense as what you get when working on a C# file. Multi-line history with editing, file-system aware imports, and a lot of other small features all add up to make it possible to do rather complex things in the REPL.
- yareally 10y agoI only have one gripe with the Visual Studio REPL...it kind of lacks the 'P' part of REPL. If you execute something, it doesn't print it out unless you do Console.WriteLine(). Otherwise, it's pretty nice. Not sure why they went that route with the C# REPL, because the F# one prints out results after execution.