Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / umesh

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

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session and cookies in c#?

965


What is use of hashtable in c#?

879


What is difference between method and function in c#?

909


Can you have parameters for static constructors?

948


What is c-sharp (c#)?

946


What is the default value of string in c#?

1007


What is the difference between CreateObject() and GetObject()?

1115


Is python easier than c#?

943


What are the advantages of using delegates in c#?

925


Can you use foreach iteration on arrays in c#?

1074


How long can loop recorders stay in?

1169


What is a c# delegate?

1066


What is the use of system.environment class in c#.net?

965


What is the use of command builder?

1041


Why do we use lambda expression in c#?

947