Click here to Skip to main content
12,893,816 members (47,274 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


8 bookmarked
Posted 22 Jan 2011

Commenting/uncommenting segments easily in C#

, 24 Jan 2011 CPOL
Comment out a large segment by changing a single line


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

12 Feb 2011
I use stuff like this quite often. Here's an extension, for switching quickly between two different code blocks://*doSomethingOneWay();/*/doSomethingAnotherWay();//*/As is, that will execute doSomethingOneWay(). To run doSomethingAnotherWay(), just take off the first...


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Christ Kennedy
CEO unemployable
Canada Canada
Christ Kennedy, published his fourth novel "Cleats of the Counter Revolution" in the summer of 2010. He grew up in the suburbs of Montreal and is a bilingual Quebecois with a bachelor’s degree in computer engineering from McGill University and is currently walking across ontario plotting a new novel, far away from any computer.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 24 Jan 2011
Article Copyright 2011 by Christ Kennedy
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid