How to add a line break in C# .NET documentation

前端 未结 5 523
眼角桃花
眼角桃花 2020-11-28 21:36

This should be waaaay easier...

I want to add a \"coded\" line break to the XML documentation in my code

/// 
/// Get a human-readable         


        
5条回答
  •  余生分开走
    2020-11-28 22:13

    Add a tag with a special char in it, the 255 char, or invisible char.

    /// 
    /// Some text
    ///    
    /// More text
    /// 
    /// Some string
    public void SomeMethod(string str) { }
    

    It will work like this:

    enter image description here

提交回复
热议问题