What Can You Do To Make Class Available For Inheritance But You Need To Prevent Its Method To Come In Inheritance Chain
Well, Declare a class with public access specifier and mark all it's method to sealed . As anything which is declared with sealed keyword cannot be inherited.
2009-2016 downloadmela.com. All rights reserved.