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

What are the types of serialization?

971


What are the main reasons to use c# language?

960


What is var c#?

1012


Explain the difference between class and interface in .net?

877


Explain about Error handling and how this is done

953


Why is hashset faster?

995


What are circular references? How garbage collection deals with circular references.

921


What is default c#?

958


Is c# an open source?

936


What is Web.config?

1036


What is an argument in c#?

959


What does f mean in c#?

914


What is a protected class c#?

901


What is attribute c#?

859


What is private static in c#?

929