Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an interactive interpreter for C#? [closed]

Tags:

c#

shell

Sometimes it's handy to have access to your language to do quick things without starting Visual Studio and creating a new console app.

Is there something like Python's interactive mode or groovy shell, except for C#?

like image 544
Seth Avatar asked Jan 13 '10 17:01

Seth


People also ask

Is there an interpreter for C?

Ch is a complete C interpreter that supports all language features and standard libraries of the ISO C90 Standard, but extends C with many high-level features such as string type and computational arrays as first-class objects. Ch standard is freeware but not open source.

What interpreter is used in C#?

NET framework codeDOM API's which enables us to dynamically evaluate C# code expressions and statements for testing mini code fragments or scripts more or less like to Python Interpreter.

Does C# have a shell?

The C# interactive shell is built on top of the Mono. CSharp (http:/monodoc/N:Mono. CSharp) library, a library that provides a C# compiler service that can be used to evaluate expressions and statements on-the-fly.

What is interactive Python shell?

The Python interactive console (also called the Python interpreter or Python shell) provides programmers with a quick way to execute commands and try out or test code without creating a file.


Video Answer


1 Answers

With the Visual Studio 2015 Update 1 there now is a C# Interactive tool window built into Visual Studio.

The new tool window is invoked by going to ViewOther WindowsC# Interactive.

For Visual Studio 2010 to 2013 you can use the Roslyn CTP to get a similar tool window in Visual Studio.

like image 160
Daniel Rose Avatar answered Sep 19 '22 00:09

Daniel Rose