c# Does sealing a class seal all overriden members?

Posted by e28Makaveli on Stack Overflow See other posts from Stack Overflow or by e28Makaveli
Published on 2010-05-07T14:25:18Z Indexed on 2010/05/07 14:28 UTC
Read the original article Hit count: 357

Filed under:

If I seal a class are all overriden members implicitly sealed or do I have to seal each overriden member explicitly?

public sealed ClassA : ClassB
{

// Is this implicitly sealed or do I have to explicitly seal
public override void Method1()
{}

}

TIA.

Klaus

© Stack Overflow or respective owner

Related posts about class