C
craig
I have a quick question regarding the use of interfaces...
Assume I have a class A that needs to interact with another class B.
Classes A nd B are in different assemblies.
Now, in order to assure that the interaction between classes A and B works
properly, class A assumes that class B implements a certain interface I.
Where is the best place to define interface I? What assembly should it be
defined in? Are there any best practices for doing this?
Thanks!
Assume I have a class A that needs to interact with another class B.
Classes A nd B are in different assemblies.
Now, in order to assure that the interaction between classes A and B works
properly, class A assumes that class B implements a certain interface I.
Where is the best place to define interface I? What assembly should it be
defined in? Are there any best practices for doing this?
Thanks!