Re: Why can't interfaces have protected methods?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: cody (no_spam_deutronium_at_gmx.net)
Date: 08/13/04


Date: Fri, 13 Aug 2004 12:54:45 +0200


> Besides, from my understanding, interfaces
> aren't inherited.

That is wrong. If a class implements a certain interface, all derived
classes also do.

--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu  || http://www.deutronium.tk


Relevant Pages

  • Re: Interface in .NET -- mutable or not?
    ... It is my understanding that with .NET you can add or remove methods in ... your interface while still maintain binary compatibility. ... .NET interfaces are not derived from IUnknown ... purpose would the contract serve? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: multiple interfaces act like proxy arp is on
    ... addresses are owned by machines, not by interfaces. ... bridging or something else sane. ... configuration and should not be attempted without a full understanding ...
    (comp.os.linux.development.system)