Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to define a class level comment template which can be added at top of the cs file whenever we create a new cs file.

Any body can tell me either is it possible in VS 2010 or not. If yes then how ?
Posted

1 solution

Edit the class template in the Visual Studio templates, e.g. as shown in http://stackoverflow.com/questions/2072687/how-do-i-edit-the-visual-studio-templates-for-new-c-sharp-class-interface[^].
Cheers
Andi
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 2-Oct-13 19:21pm    
My 5, but the author of the question you referenced would need a different advice, to use "Organize Usings" -> "Remove Unused Usings". But for Kumar, this advice is just fine.
—SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900