Implementing XML Comments

XML comments have a double purpose. The first one is enabling additional help within IntelliSense when you write code. The second one is generating an XML file storing information that can be built into a compiled documentation file, such as the .Chm format that also allows navigation between documented items. In this section you learn to implement XML comments understanding the various tags and why they are important; although in some cases it might not seem to be. Before implementing comments, create a new Console application and implement a Person class as follows:

image

The Person class will be the base for our experiments. ...

Get Visual Basic® 2010 Unleashed 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.