How do I put code examples in .NET XML comments? How do I put code examples in .NET XML comments? xml xml

How do I put code examples in .NET XML comments?


Try using the <example> tag.

/// <example>/// <code>/// // create the class that does translations/// GiveHelpTransforms ght = new GiveHelpTransforms();/// // have it load our XML into the SourceXML property/// ght.LoadXMLFromFile(///  "E:\\Inetpub\\wwwroot\\GiveHelp\\GiveHelpDoc.xml");/// </code>/// </example>

I got the above example from here.