Not sure about VS but I've used linq pad to do this.

On 12 March 2013 12:57, Greg Keogh <[email protected]> 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

Reply via email to