Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# VB.NET
it's very simple question-
here somebody comment like
1st format
'added on-06-12-2012
'Remarks: For Cancel button click event.
2nd format
'Addedby-XYZ ON 06-12-2012 For Cancel button click event.

Private Sub BttnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BttnCancel.Click
End Sub
so i just want to know more format for comment.Bcoz this type of comment used by most people,so i want some diff for this.
Posted 10-Dec-12 21:22pm
Edited 10-Dec-12 22:41pm
OriginalGriff at 11-Dec-12 2:47am
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
01010RAJ at 11-Dec-12 3:41am
see my improve question and suggest me some more format to add comment.
TheOtherCPian at 11-Dec-12 3:24am
This question is too open ended for the Q&A section. Try starting a discussion in one of the forums, such as the Lounge[^], Design and Architecture[^], or even Visual Basic[^].
01010RAJ at 11-Dec-12 3:42am
see my improve question and suggest me some more format to add comment.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This is too open ended - there is no standard for this kind of information, either a coder will have his own style, or there may be a company style. However, have a look at this:[^] - it's on commenting generally and covers modification history.
BTW: Modification history should be a part of the XML comments you attach to your methods - or rather don't in the example you give. See here:[^]. It can make a big difference to use them as Intellisense can pick them up if nothing else!

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

  Print Answers RSS
0 OriginalGriff 680
1 Maciej Los 300
2 Suvendu Shekhar Giri 229
3 Sascha Lefévre 229
4 Richard Deeming 195
0 Sergey Alexandrovich Kryukov 9,678
1 OriginalGriff 9,135
2 Peter Leow 5,082
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,606

Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100