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

Answer Posted / nkm

Class can be MustInherit and method can be NotInheritable
(VB.NET Concept)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Serialize and MarshalByRef?

740


What are the differences between static, public and void in c#?

804


what is the difference between a struct and a class in c#?

835


What are access modifiers used for?

841


What is the difference between function and method in c#?

696


What is boolean conditions in c#?

731


How the versioning applies to Assemblies or can you explain version numbers?

841


What is sqldatareader c#?

702


What is the purpose of abstract class in c#?

721


What is the use of convert toint32 in c#?

745


What is interpolation in programming?

727


Describe the overview of clr integration.

698


What is the difference between firstordefault and first?

719


How do you clear a list in c#?

712


Explain about Error handling and how this is done

761