记录 .NET 代码的标准方法是使用 XML 文档。这对于大多数目的来说应该足够了。当然,如果您编写大型方法,那么在方法主体中的战略点上添加注释可能会有所帮助。
The standard way of documenting .NET code is using XML Documentation. This should be sufficient for most purposes. Of course if you wrote large methods it might help to put comments in the method bodies at strategic points.
发布评论
评论(1)
记录 .NET 代码的标准方法是使用 XML 文档。这对于大多数目的来说应该足够了。当然,如果您编写大型方法,那么在方法主体中的战略点上添加注释可能会有所帮助。
The standard way of documenting .NET code is using XML Documentation. This should be sufficient for most purposes. Of course if you wrote large methods it might help to put comments in the method bodies at strategic points.