c# interactive

Post on 13-Apr-2017

100 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

C# INTERACTIVE

1

Phil Pursglove

@philpursglove

C# INTERACTIVE

2

C# REPL

Read-Evaluate-Print Loop

View | Other Windows | C# Interactive

OR

csi on the command line

Live coding environment

No Console app, project or solution required

Has full Intellisense

Useful for prototyping code and exploring libraries

C# INTERACTIVE

3

Hash commands

#r – add a reference to the current context

#load – load and execute a C# script file in the current context

#reset – reset the current context

#clear – clear the screen

Save scripts as .CSX files

Run them from the commandline by calling csi [path to csx]

http://tinyurl.com/csharpinteractive

top related