XML Documentation
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

XML Documentation

In Visual C# you can document the code you write using XML. C# is the only programming language in Visual Studio .NET with this feature. For details on creating an XML file with documentation comments, see the following topics.

For information about See
The C# compiler option to use /doc (Process Documentation Comments)
Tags you can use to provide commonly used functionality in documentation Recommended Tags for Documentation Comments
The ID strings that the compiler produces to identify the constructs in your code Processing the XML File
How to delimit documentation tags Delimiters for Documentation Tags
How to document a type XML Documentation Tutorial
Links to information about XML as it relates to Visual Studio feature areas XML in Visual Studio

See Commenting Code for information on how Visual Studio will display a report on the structure of your code, to include XML Documentation comments.

See Also

C# Language Features

© 2015 Microsoft