I havent noticed interfaces before, but from what I can read, its just a
template class kinda. I still have to implement all functionality in the
Class that inherits them. So what Im really inheriting is just "contracts"
of how the structure must look like. Correct?
By simulating multiple inheritance via interfaces, you just get the
kind of mess VB6 programmers used to create by using interfaces to
simulate single inheritance.
Use interfaces for what they are intended for. There is no multiple
inheritance in .net, and for good reason - it sucks and probably
means you have a bad design. If you try to fake it with interfaces,
you then have a mess on top of a bad design.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.