c# interactive

3

Click here to load reader

Upload: phil-pursglove

Post on 13-Apr-2017

100 views

Category:

Software


0 download

TRANSCRIPT

Page 1: C# Interactive

C# INTERACTIVE

1

Phil Pursglove

@philpursglove

Page 2: C# Interactive

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

Page 3: C# Interactive

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