When compiler adds a default constructor to a class?

Answer Posted / romeo

when the object of that class is created with no parameters
passed.

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are cao stateful in nature?

476


Why do we need indexers in c#?

480


what are pointer types in c#

552


What is extension method in c# and how to use them?

476


Why var is used in c#?

499






How many types of variables are there in c#?

530


What is autopostback in c#?

479


Is c# pass by value?

489


What are modifiers in c#?

471


Can enum be null c#?

524


If you want to write your own dot net language, what steps you will u take care?

563


Which is faster array or arraylist in c#?

483


What is generic and non generic collections in c#?

438


Why do we need abstraction in c#?

495


What is the lock statement in c#?

538