Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
C#
»
C#: Classes
»
C#: Class inheritance
Sealed class in C#
Submitted by
obraztsov
on Thu, 12/10/2015 - 17:13
Forums:
C#: Class inheritance
class
Shape
{ }
sealed
class
Square
:
Shape
{ }
class
RedSquare
: Square { }
//<- error
Log in
to post comments