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

When compiler adds a default constructor to a class?

Answer Posted / abhay k pandey

When there in no explicite parameterless constructor
written for any class. C# compiler calls the default
constructor and initializes fields with zero, false and
null values.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign Null value to Var?

936


Why do canadians say zed?

954


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

1069


How to achieve polymorphism in c#?

909


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

943


Why do we use threads in c#?

940


What is private protected in c#?

829


What is the use of console?

816


Can a constructor have a return type?

817


What is .edmx file?

917


What is lock statement in C#?

950


Define using statement in c#?

878


Can we make a class private in c#?

879


Define encapsulation?

1035


What is overloading in c#?

870