
Itz great to see Jason Haley recommendation; my name is listed along with my favorite techie Somasegar, Scott, etc
~~~ Sealed class benchmark results (C#) ~~~
See "Benchmark" section for the code compared.
TestA.GetNumber (regular): 2.490 ns
TestB.GetNumber (sealed): 2.162 ns [faster]
So, the keyword sealed provides a way to demand that the class not to be inherited from, but it is also useful for performance optimization.