C# (Sharp) Programming Language Question:
Download Questions PDF

Can you allow class to be inherited, but prevent the method from being over-ridden?

Answer:

Yes, just leave the class public and make the method sealed

Download C# (Sharp) Programming Language Interview Questions And Answers PDF

Previous QuestionNext Question
What is the top .NET class that everything is derived from?Can you change the value of a variable while debugging a C# application?