How to show '<' char in C# XML comments?

前端 未结 5 1154
长情又很酷
长情又很酷 2020-12-05 09:15

I searched a lot, but couldn\'t find how to show \'<\' char in C# XML comments?

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 09:53

    You can use HTML escape codes, as mentioned in other answers, but you could also look at using the CDATA - (Unparsed) Character Data tag, here is a link with more info

    Cheers

提交回复
热议问题