<example>description</example>
where:
The <example> tag lets you specify an example of how to use a method or other library member. Commonly, this would involve use of the <code> tag.
Compile with /doc to process documentation comments to a file.
public class MyClass { /// <example> This sample shows how to call the GetZero method. /// <code> /// class MyClass { /// public static int Main() { /// return GetZero(); /// } /// } /// </code> /// </example> public static int GetZero() { return 0; } public static void Main () { } }