Summary

C# uses XML to build code documentation using the comments in the source code. The compiler automatically generates the XML code. This code can then be used as the documentation. The /doc option is used during compilation to specify the target .xml file. Tags provided are <example>, <code>, <exception>, <list>, <para>, <param>, <paramref>, <remarks>, <returns>, <see>, <summary>, and <value>.

Get Special Edition Using C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.