This code snippet surrounds selected code with a comment block (/* comment */). Should work for all versions of Visual Studio starting from 2005.

To find the code snippet path used by VS, go to Tools -> Code Snippets Manager. Select Visual C# in the Language drop down. Expand the Visual C# folder and note the file location. Place this file in that location. Restart VS, select a group of code, right click -> Surround with and it should be there with the name: Comments Snippets.

Project Activity

See All Activity >

Follow Comments Code Snippet for C#

Comments Code Snippet for C# Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Comments Code Snippet for C#!

Additional Project Details

Registered

2013-02-22