Mega Code Archive

 
Categories / C# Book / 01 Language Basics
 

0010 XML documentation comments

The third type of comments is XML documentation comment. In the C# source code, the comments may contain XML tags. Those tags mark the comments to provide information for the code. using System; class Program { /// <summary> /// This the XML documentation. /// </summary> static void Main(string[] args) { int i = 0; int j = 2; Console.WriteLine("i=" + i); Console.WriteLine("j=" + j); } }