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

What are predicates in c#?

639


What is windows forms in c#?

546


Can a constructor have a return type?

586


What is ControlBox Propertie

663


Why var is used in c#?

600






write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5

1954


Can a constructor be static in c#?

630


What are the 2 broad classifications of fields in c#?

625


Explain the difference between the debug class and trace class?

566


Can namespace contain the private class?

578


Which is the base class in c#?

583


What is _layout cshtml?

562


What is trim in c#?

638


Can we inherit partial class in c#?

570


What is the use of main method in c#?

582