XML and Visual Studio .NET

In the previous sections, you saw how comment entries can be added to source code to generate XML documentation. For large projects and solutions, this might be a cumbersome task. Visual Studio. NET eases the task of adding comment entries to your source code. Visual Studio .NET automatically generates the <summary> tag for the skeletal code it generates when a new project is created, as shown in Figure 15.4.

Figure 15.4. The <summary>tag is generated automatically by Visual Studio .NET.

When you type /// at the beginning of a line, Visual Studio .NET automatically adds the <summary> tag, as illustrated in Figure ...

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.