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<=index<=64</param>
OR
/// <param name="index">square index on board which 1〈=index〈=64</param>
The latter option is unicode: 〈 〉
Try encoding them? using < and >
精彩评论