Is there a way to use C# interactively, inside a REPL environment like Python?
Asked
Active
Viewed 315 times
3 Answers
2
Have a look at C# script: http://www.csscript.net/

jdehaan
- 19,700
- 6
- 57
- 97
-
Can I use it via the command-line interface like Python (this is what I meant by Interactively). – wassimans Feb 07 '11 at 19:18
1
If by interactively you mean not having to manually compile or run as a console application, then yes. There are several tools that allow this.
The best, imo, is LinqPad. See: http://www.linqpad.net/

RMD
- 3,421
- 7
- 39
- 85
1
Mono offers some ways you can consider take a look at http://www.mono-project.com/CsharpRepl

kenny
- 21,522
- 8
- 49
- 87
-
2
-
-
@Wassim, I haven't tried it. But, .NET applications in general are not *not* Windows or any platform specific. Unless they p-invoke or use a library with platform only features. – kenny Feb 07 '11 at 19:53
-
Found this thread looking for the answer. http://stackoverflow.com/questions/2058715/is-there-an-interactive-interpreter-for-c – kenny Feb 07 '11 at 19:56