Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 996139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T06:49:52+00:00 2026-05-16T06:49:52+00:00

if there is an interface and a class that implements it and you want

  • 0

if there is an interface and a class that implements it and you want to have the the xml comment on it to be used in VS intellisense or documentation where would you put the xml comment? on the interface’s methods or on the concrete class methods? What is the correct way?

My thoughts are to put it in the interface because we are declaring the variables using interface. And i think its redundant if i also put a comment on the concrete class and see this may lead to different documentation on same method.

Any ideas, advice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T06:49:53+00:00Added an answer on May 16, 2026 at 6:49 am

    You should document on any public member. If you’ve implemented ISomeInterface.SomeMember as public void SomeMember then it should be documented. For one thing the reader will see this as part of your class, and only by reading documentation (which they can’t know to look at if it isn’t there) will they know it’s defined in that interface. If it’s implemented as void ISomeInterface.SomeMember then it’s less important, as it won’t be seen as part of the public interface of the class.

    It’s also sometimes important to know details about how your particular class has implemented a given interface member.

    On the other hand, it may be reasonable to give a very short description and direct people to the interface’s documentation for more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a class that implements multiple interfaces. I would like to register these
I want to have a generic class that implements Iterable (let's call it ImplIterable)
Is there a Python class that wraps the file interface (read, write etc.) around
There are numerous times you have an interface that accepts similar type arguments that
Can I leave an abstract class that implements interfaces empty and imply that all
I have several DAO objects that are used to retrieve information from a database
One more question that relates to this interface . Let's say that I would
Probably a simple question. I have an interface (MyInterface) that defines a property like
Is there any programming interface or CLI for changing network or file sharing settings
Is there any programatic interface for the MOUNTVOL command in Windows? What I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.