Can you prevent a class from overriding

Q

Can you prevent a class from overriding ?

✍: Guest

A
If you define a class as “Sealed” in C# and “NotInheritable” in VB.NET you can not inherit the class any further.

2007-10-23, 6549👍, 0💬