4 ms·
You get a poor man's REPL with the Immediate Window in the debugger. You can't create classes (or statements in general). but you can evaluate expressions. Bu
by kenjackson 16y ago
You get a poor man's REPL with the Immediate Window in the debugger. You can't create classes (or statements in general). but you can evaluate expressions.
But it does appear C# REPL is coming in C# 5.0.
- noblethrasher 16y agoMono also has a REPL (http://www.mono-project.com/CsharpRepl http://www.mono-project.com/CsharpRepl).
- contextfree 16y agoThe compiler rewrite that's meant to enable REPL (along with some cool metaprogramming features, I hope) isn't targeted at 5.0, but a still later release. Though you can get a C# REPL in Mono today.
- kenjackson 16y agoReally? That sucks. (The post 5.0 thing sucks, not Mono). With REPL and Async (and the other metaprogramming stuff) I was thinking 5.0 was going to be their biggest release yet.
- balakk 16y agoF# does have a full REPL - and its imperative/OO behavior is fairly close to C#. More people(on .NET & otherwise) should look at F#.
- kenjackson 16y agoI'd use it if it had better tools support. Great language though.