Bold or italic in C# or VB documentation comments?

后端 未结 5 820
轻奢々
轻奢々 2021-02-18 14:48

Is there a way to use bold or italic inside documentation comments? Something like:

/// 

        
5条回答
  •  野性不改
    2021-02-18 15:13

    There are other ways of adding emphasis:

     - Upper case:    some BOLD text       // you are shouting, but they WILL read it
     - First letter:  some Bold text       // less emphasis
     - Asterisks:     some **bold** text   // 2 asterisks seem to work best
     - Dashes:        some --bold-- text   // less emphasis
    

    Plain text is old-school, but it can be very effective - and works long after the technology has changed.

提交回复
热议问题