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...

If we inherit a class do the private variables also get
inherited ?

Answer Posted / jigar

Yes, the variables are inherited but can not be accessed directly by the class interface.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is array thread safe c#?

918


What is iqueryable in c#?

943


Can I call a virtual method from a constructor/destructor?

942


What is difference between string and stringbuffer in c#?

1008


What is a method signature in c#?

976


What is dynamic in c#?

959


What is c# best for?

991


What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?

1206


What's the difference between an integer and int?

1137


What is difference between first and firstordefault?

963


What are the variables in c#?

987


In languages without exception-handling facilities, we could send an error-handling procedure as a parameter to each procedure that can detect errors that must be handled. What disadvantages are there to this method?

1166


What is interface used in c#?

1068


Is friend a constructor?

965


What is wcf c#?

995