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 is the root element of an xml file?

860


What is callback function in c#?

918


How do you comment out code in c#?

904


Are string objects mutable or immutable?

926


What is lazy t?

944


Explain About sn.exe

979


What is the difference between mobile application and desktop application?

881


Which function is the entry point for a DLL in MS Windows 3.1?

1169


Contrast between an interface and abstract class?

968


What is iqueryable in linq?

878


What is the difference between dynamic and var in c#?

923


What is sql transaction in c#?

891


Is it true that all c# types derive from a common base class?

1086


How many types of constructor are there in c#?

903


Which operator cannot be overloaded in c sharp?

871