Click here to Skip to main content
15,917,875 members

Survey Results

How do you comment your C# code?   [Edit]

Survey period: 13 Oct 2003 to 19 Oct 2003

C# devs get the new look XML style comments, but do you use them? (suggested by Rakesh Rajan)

OptionVotes% 
Using the /// XML documentation format where appropriate39538.69
Always using the old // or /* format46245.25
Comments? We're meant to comment our code?16416.06



 
GeneralRe: I use Pin
Tomas Petricek13-Oct-03 7:06
Tomas Petricek13-Oct-03 7:06 
GeneralI use both Pin
Andrew Torrance13-Oct-03 1:06
Andrew Torrance13-Oct-03 1:06 
General/// - doxygen style Pin
peterchen12-Oct-03 23:39
peterchen12-Oct-03 23:39 
GeneralRe: /// - doxygen style Pin
Paul Watson13-Oct-03 0:48
sitebuilderPaul Watson13-Oct-03 0:48 
GeneralRe: /// - doxygen style Pin
peterchen13-Oct-03 1:38
peterchen13-Oct-03 1:38 
GeneralRe: /// - doxygen style Pin
Paul Watson13-Oct-03 1:42
sitebuilderPaul Watson13-Oct-03 1:42 
GeneralRe: /// - doxygen style Pin
peterchen13-Oct-03 1:46
peterchen13-Oct-03 1:46 
GeneralRe: /// - doxygen style Pin
Frode N. Rosand14-Oct-03 21:13
Frode N. Rosand14-Oct-03 21:13 
The best thing about using the /// XML style comments is the hints you get through IntelliSense afterwards. It's great when you have a method with 8 overloads and a large range of parameters for each one.

I always try to get a good /// in there for every public method, property etc. But I also use // wherever a comment is needed throughout the code.
GeneralRe: /// - doxygen style Pin
Matthew Adams14-Oct-03 21:36
professionalMatthew Adams14-Oct-03 21:36 
GeneralRe: /// - doxygen style Pin
Heath Stewart13-Oct-03 3:50
protectorHeath Stewart13-Oct-03 3:50 
GeneralRe: /// - doxygen style Pin
Rakesh Rajan13-Oct-03 6:52
Rakesh Rajan13-Oct-03 6:52 
GeneralRe: /// - doxygen style Pin
Anonymous13-Oct-03 9:34
Anonymous13-Oct-03 9:34 
GeneralRe: /// - doxygen style Pin
Noah Duke14-Oct-03 7:41
Noah Duke14-Oct-03 7:41 
General/// Pin
Nick Seng12-Oct-03 22:48
Nick Seng12-Oct-03 22:48 
Generalcomments Pin
Mark Focas12-Oct-03 18:59
Mark Focas12-Oct-03 18:59 
General1, but Pin
pseudonym6712-Oct-03 18:48
pseudonym6712-Oct-03 18:48 
General#3 but.. Pin
Matt Newman12-Oct-03 18:15
Matt Newman12-Oct-03 18:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.