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

Wats the diff between sealed class and private class in
inheritance

Answer Posted / robert j

continuation from the prev.post...



We can put the "private" keyword, if and if only the class
is in public class.. It is rarely used..

public class a
{
...

private class b
{
..
}
}



otherwise, we can not put private keyword over the classes
directly..

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is enum a class c#?

876


what is the difference between .dll and .exe

1042


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

924


Is c# difficult to learn?

872


What is concrete method in c#?

930


Are there constructors in c sharp?

966


Define thread?

987


What is a method signature c#?

963


What is delegates in c# and uses of delegates?

858


What are the desktop applications?

880


Why do we use public static void main in c#?

956


We cannot create instances of static classes. Can we have constructors for static classes?

1014


What is a byte in c#?

983


When should we use sealed class in c#?

903


Define boxing and unboxing in c#?

859