Can you allow class to be inherited, but prevent the method from being over-ridden?
Can you allow class to be inherited, but prevent the method from being over-ridden?
yes, by using sealed keyword in method.
There are currently 1 users browsing this thread. (0 members and 1 guests)