Alex Rivera | Logout

Implementing interfaces in partial classes

Asked 2011-01-13T14:35:02.253
10

Consider a class which implements a lot of interfaces, would it make sense to implement each interface in a separate file using partial class definitions?

Would this be an abuse of the language feature or is it an idiom I'm unaware of?

Edit
Report

1 Answer

1

The only benefit is to have the various interface implementations in separate physical files.

In my opinion, this is outweighed by the downside of having your class declaration located in separate physical files.

answered 2011-01-13T14:40:53.870

Your Answer