implement some methods of interface explicitly and some methods implicitly
can i implement some methods of an inte开发者_开发百科rface explicitly and some methods implicityly in C#?
Yes, as long the compiler can resolve all the methods, there's no issue with mixing. I do this every once in a while just because I have to explicitly implement something it can't resolve for some edge case, but the implicit members continue to work just fine.
精彩评论