Supplying XML Code Comments
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here
You can make the comments in source code files available as IntelliSense. When you add the /doc switch to the Visual Basic, C#, or C++ compiler command line, an .xml file is generated that serves as the basis for IntelliSense documentation.
For more information about documenting code in Visual Basic, see How to: Create XML Documentation.
For more information about documenting code in C#, see XML Documentation Comments.