+1 LINQPad From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Preet Sangha Sent: Tuesday, 12 March 2013 11:00 AM To: ozDotNet Subject: Re: Running code snippets
Not sure about VS but I've used linq pad to do this. On 12 March 2013 12:57, Greg Keogh <g...@mira.net<mailto:g...@mira.net>> wrote: Folks, what's the best way of conveniently running code snippets from inside Visual Studio 2012? Years ago I used some app to run snippets, but it was inconvenient and I never reinstalled it. Perhaps there are new tricks in the Immediate window or some similar window I'm not aware of. Quite often I want to just run one to five C# lines of code and see the output, then forget it. Greg K -- regards, Preet, Overlooking the Ocean, Auckland