put example code in documentation by using sandcastle
-
13-09-2019 - |
Question
i'm generating documentation files from the xml comments of my c# code, by using sandcastle help file builder. do you know how to include code examples into the help file, like msdn style?
Solution
Did you try the <example>
and <code>
tags? It should do what you want.
<summary> ... </summary>
<example>This is a code example:
<code> ... </code>
</example>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow