Monday, June 24, 2013

C# - How to use escape characters in visual studio summary comments

To write the code examples in VS use CDATA and it will avoid warnings from StyleCop

Below is example

/// <summary>
/// How to use this method: <![CDATA[ new List<object>() { true, 100 } ]]>
/// </summary>