How do you prevent a class from being inherited?

We can use the keyword sealed in C# and NotInheritable in VB.NET.
How do you prevent a class from being inherited? How do you prevent a class from being inherited? Reviewed by kamal kumar das on May 07, 2012 Rating: 5

No comments:

ads 728x90 B
Powered by Blogger.