Can we inherit a private class in chsarp? how? explain(with
code) ?

Answer Posted / hassan-ak

WHERE IS THE INHERITANCE IN THIS CODE, WE KNOW THAT INNER
CLASSES CAN BE DECLARED PRIVATE BUT THE QUESTION IS: CAN IT
BE INHERITED, SINCE A PRIVATE FEILD IS NOT ACCESSED BY SUB
CLASS SO HOW IF THE WHOLE CLASS IS PRIVATE?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an object pool in .net?

654


What's your approach to fetch static data in your windows form application?

508


What is the use of xmlserializer?

477


Explain About ADO and its objects

575


Is int reference type c#?

503






What do you mean by shared assembly?

586


How do I do a case-insensitive string comparison?

521


What is multithreading with .net?

537


What do u meant by "SBI" of an object?

538


Is stringbuilder thread safe c#?

479


What is entity framework in c#?

475


What are the steps to create an assembly and add it to the gac?

460


Can a dictionary have duplicate keys c#?

482


What is AutoMapper in C#?

582


What is arraylist?

540