Hacker News new | ask | show | jobs
by derekerdmann 4386 days ago
C# also includes compiler checks to make sure you're explicitly overriding methods correctly: http://msdn.microsoft.com/en-us/library/ebca9ah3.aspx
1 comments

C# takes it even further by not allowing you to override methods unless they were marked as overridable in the base class with the "virtual" keyword.