Commenting in C#.NET
In C#.Net we can comment in 3 ways.- Single line commentssyntax: // this is single line comment
- Multiple line comments
Syntax: /* this is for multi line comments */
- XML tags comments
/// this is XML tags which will displayed in a code comment or intellisense.
One more example for XML comments.
/// <summary>
/// Summary of the method.
/// </summary>
/// <param name="data">parameters information</param>
public void SaveingData(ref DataSet data)
{
}
Post a Comment
Please give your valuable feedback on this post. You can submit any ASP.NET article here. We will post that article in this website by your name.