Click here to Skip to main content
12,892,796 members (47,995 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# VB 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 20:22pm
Updated 10-Dec-12 21:41pm
OriginalGriff 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.
TheOtherCPian 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 11-Dec-12 3:41am
see my improve question and suggest me some more format to add comment.
01010RAJ 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2017
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