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 enables navigation between documented items. In this section, you learn to implement XML comments and learn the various tags and why they are important, although in some cases they might not seem to be. Before implementing comments, create a new Console application and implement a Person
class as follows:
Public Class Person Public Overridable Property FirstName As String Public Overridable Property LastName As String ...
Get Visual Basic 2015 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.