Questions tagged «summary»

8
换行中的对象摘要
问候 在设置属性/字段/方法等的摘要时,是否可以在其中添加换行符? /// <summary> /// This is line 1 /// This is line 2 /// </summary> public bool TestLine { get; set; } 当我设置它时,它显示为鼠标悬停: bool TestLine This is line 1 This is line 2 但我希望它显示为: bool TestLine This is line 1 This is line 2 我试过使用,\n但不起作用。有什么办法可以做到这一点?
97 c#  newline  summary 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.