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

Answer Posted / mr.f

This problem is very easy, You just declared the method
without virtual keyword. :d

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long will it take to learn c sharp?

487


What are strongly typed objects?

477


What is the data type for bit in c#?

470


Int map to which .net types?

536


Can an abstract class have a constructor c#?

489






Is c# pass by value?

483


What is public void in c#?

509


Is multiple inheritance possible in c#?

553


What is different between Static Constructor and Private Constructor?

459


Is c++ or c# better?

536


Is .net and c# the same?

550


What is a clr host?

549


Can a method be sealed in c#?

484


What are extender provider components?

468


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

539