How can it be that PageContent implements IAddChild but has none of this interface methods?

Posted by Nimrod Shory on Stack Overflow See other posts from Stack Overflow or by Nimrod Shory
Published on 2010-04-06T13:12:38Z Indexed on 2010/04/06 13:13 UTC
Read the original article Hit count: 222

Filed under:
|

The PageContent element implements IAddChild but doesn't implements IAddChild methods so I can't call AddChild method on PageContent.. How can it be?
And if i cast PageContent to IAddChild i can call AddChild method on it - So it does implement it somewhere...

I am confused with this behavior. Can someone shed some light on this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about interfaces