开发者

How to use < > in Visual Studio comments?

Below comment is just a piece of xml comment in VS but my problem is characters like < > that break the xml structure. How can I use them in an xml comment?

/// <param name="index">square index on board which 1<=ind开发者_JAVA百科ex<=64</param>


I would reword it to be more a sentence and less an equation:

/// <param name="index">square index on board, between 1 and 64</param>


/// <param name="index">square index on board which 1&lt;=index&lt;=64</param>

OR

/// <param name="index">square index on board which 1〈=index〈=64</param> 

The latter option is unicode: 〈 〉


Try encoding them? using &lt; and &gt;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜