Bold or italic in C# or VB documentation comments?

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

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

/// 

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

    An alternate way is to use a wiki markup-like style instead.

    /// Cleanup method. This is *recommended* way of cleanup.
    public void CleanAll();
    

    Edit 1: AFAIK Visual Studio doesn't understand wiki markup. I was just suggesting to use wiki markup as a convention. Your team would still see the raw (unformatted) wiki markup in the method's intellisense.

提交回复
热议问题