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 does c# generics and c++ templates compare?

969


What is the meaning of extention?

1079


How does dictionary work in c#?

934


What are delegate methods?

1013


what are the differences between a class and structure

1192


Describe ways of cleaning up objects in c#.

946


What are the applications of c#?

1823


What is the main usage of keyword “virtual” ? How does it work for a method or property?

960


What are the benefits of using generics?

1063


what is the purpose of using statement in c#

1054


What is new method in c#?

969


What is CLR and its application.?

1082


What is the difference between internal and private in c#?

984


If I want to override a method one of class A and in class b then how do you declare?

1387


What is the use of static members with example using c#.net.

965