Comment the interface, implementation or both?

后端 未结 9 1273
萌比男神i
萌比男神i 2020-12-13 03:08

I imagine that we all (when we can be bothered!) comment our interfaces. e.g.

/// 
/// Foo Interface
/// 
public interface Fo         


        
9条回答
  •  借酒劲吻你
    2020-12-13 03:58

    If you use the GhostDoc addin, it updates the implementation with the comment from the interface when you right click and select "Document This" on the method.

提交回复
热议问题