Highlight and run?

  • Thread starter Thread starter Mark G.
  • Start date Start date
M

Mark G.

I am fairly new to visual studio and am intermediate with C#. In learning
more and more, I find that it would be useful to simply highlight a block of
code and run it rather than commenting out what I don't want run and then
going from there. Is there any way built into VS that I can do this? If not
built-in, is there a free extension or something that would allow this? Am
looking for something that can run in either vs 2005 or 2008. Thanks much.
 
Mark G. pretended :
I am fairly new to visual studio and am intermediate with C#. In learning
more and more, I find that it would be useful to simply highlight a block of
code and run it rather than commenting out what I don't want run and then
going from there. Is there any way built into VS that I can do this? If not
built-in, is there a free extension or something that would allow this? Am
looking for something that can run in either vs 2005 or 2008. Thanks much.

Not a plug-in for Visual Studio, but a separate (free) program:
SnippetCompiler. See http://www.sliver.com/dotnet/SnippetCompiler/

The purpose of this program is to execute small test programs.

Hans Kesting
 
Back
Top