What are the virtues of using XML comments in .NET?

前端 未结 6 1684
醉话见心
醉话见心 2021-01-04 23:56

I can\'t understand the virtues of using XML comments. I know they can be converted into nice documentation external to the code, but the same can be achieved with the much

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-05 00:25

    The primary job of XML documentation is not to generate documentation. It is to provide good IntelliSense info for the client of your class. Ship the generated .xml file along with your assembly.

提交回复
热议问题