I'm curious what the opinions are on explicit vs. "normal" interface implementation. I've been using explicit implementation recently and I see a couple of pros and cons:
- (pro) If I change the interface, it breaks the implementing classes at compile time (prompting me to update or fix them)
- (pro) Consumers of the class have to use the interface to call into the class
- (con) It makes using
thisinside of the class awkward
Do you use this? Why or why not?
by nbarbettini via /r/csharp