Code Commenting: Do you put your code comments on Interfaces or on Concrete classes, or both? [duplicate]
问题 This question already has answers here : Comment the interface, implementation or both? (8 answers) Closed 4 months ago . What is the best practice in documenting classes and interfaces. Say if you have a concrete class called Foo, that derives from an interface called IFoo. Where do you put your comments for your methods? Do you duplicate your comments on the Interface as well as the concrete class? Here is an example where comments are duplicated: public class Foo : IFoo { /// <summary> ///