Timeline for Implementing an interface when you don't need one of the properties
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:40 | history | edited | CommunityBot | replaced http://stackoverflow.com/ with https://stackoverflow.com/ | |
| Dec 30, 2015 at 0:02 | comment | added | Deduplicator | @Ellesedil: It doesn't though. Is explicit interface implementation a bad idea? Maybe, but that's not relevant. A Dictionary is convertible to an IDictionary (because it implements it, fully), but it doesn't offer all the interface IDictionary provides (because it implements that interface explicitly, so not adding the IDictionary interface to its own interface). (Beware: I used interface for the concept, not for the unfortunately language-construct.) | |
| Dec 29, 2015 at 23:30 | comment | added | Azhdeen | Seems like it answers the question to me. The fact that it might be a good or bad idea doesn't seem to be within the scope of the question, but might still be useful for answers to indicate. | |
| Dec 29, 2015 at 21:18 | comment | added | user2023861 | @LightnessRacesinOrbit, I updated my answer to make it more clear. I hope it helps the OP. | |
| Dec 29, 2015 at 21:17 | history | edited | user2023861 | CC BY-SA 3.0 | added 94 characters in body |
| Dec 29, 2015 at 21:16 | comment | added | Lightness Races in Orbit | Probably because you didn't answer the question. Ish. Sort of. | |
| Dec 29, 2015 at 21:11 | comment | added | user2023861 | Why the downvote? | |
| Dec 29, 2015 at 21:05 | comment | added | Lightness Races in Orbit | ... which is terrible. | |
| Dec 29, 2015 at 20:18 | history | answered | user2023861 | CC BY-SA 3.0 |