Three forward slashes for block commenting?

前端 未结 3 749
别那么骄傲
别那么骄傲 2020-12-17 18:38

First noticed this in Notepad++, where // comments and /// comments were shown in different colours.
Doxygen revealed more about it, but I\'m n

3条回答
  •  旧时难觅i
    2020-12-17 18:51

    In Visual Studio the /// indicates documentation not just comments. Following your link the explanation is the same. It is used to adorn comments that will be specifically formatted via your editor or some other tool as documentation for a class, method, namespace, etc.

提交回复
热议问题