sealed Ġclass ĠSe aled Class Ġ{ Ġ// Ġ( 1 ): Ġtop Ġlevel Ġsealed Ġclass ĊĠĠĠ Ġclass ĠNested In her itor A : ĠSe aled Class () Ġ{ ĊĠĠĠĠĠĠĠ Ġclass ĠNested Nested In her itor A : ĠSe aled Class () ĊĠĠĠĠĠĠĠ Ġobject ĠNested Nested In her itor B : ĠSe aled Class () ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠClass Same File In her itor A : ĠSe aled Class () Ċ class ĠClass Same File In her itor B : ĠSe aled Class () Ċ object ĠClass Same File In her itor C : ĠSe aled Class () Ċ Ċ sealed Ġinterface ĠSe aled Interface Ġ{ Ġ// Ġ( 2 ): Ġtop Ġlevel Ġsealed Ġinterface ĊĠĠĠ Ġclass ĠNested In her itor A : ĠSe aled Interface Ġ{ ĊĠĠĠĠĠĠĠ Ġinterface ĠNested Nested In her itor A : ĠSe aled Interface ĊĠĠĠĠĠĠĠ Ġobject ĠNested Nested In her itor B : ĠSe aled Interface ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠInterface Same File In her itor A : ĠSe aled Interface Ċ class ĠInterface Same File In her itor B : ĠSe aled Interface Ċ object ĠInterface Same File In her itor C : ĠSe aled Interface ĊĊ Ċ class ĠNon Se aled Class Ġ{ ĊĠĠĠ Ġsealed Ġclass ĠNested Se aled Class Ġ// Ġ( 3 ): Ġnested Ġsealed Ġclass ĊĠĠĠ Ġsealed Ġinterface ĠNested Se aled Interface Ġ// Ġ( 4 ): Ġnested Ġsealed Ġinterface ĊĠĠĠ Ġclass ĠNested Se aled In her itor A : ĠNested Se aled Class () ĊĠĠĠ Ġclass ĠNested Se aled In her itor B : ĠNested Se aled Interface Ċ }