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

7. C# provides a default constructor for me. I write a
constructor that takes a string as a parameter, but want to
keep the no parameter one. How many constructors should I
write?

Answer Posted / nilesh chaudhari

Compiler will provide the default constructor when you not
writing any constructor then only. Otherwise if you writes
any parameterized constructor then you have to explicitly
mentioned default constructor because this condition
Compiler will not provide the default constructor.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do namespaces work?

946


What are the ways in which client can create object on server in cao model?

956


What is the xml document structure?

917


What is difference between ilist and list in c#?

949


What is the use of ispostback in c#?

859


How can I make sure my c# classes will interoperate with other .net languages?

992


What are the types of serialization?

946


What's the difference between an integer and int?

1040


What does the parsefloat function do?

895


Explain About friend and Protected friend

889


What is callback function in c#?

900


How to block a class from being inherited further?

895


What are the advantages of clr procedure over t-sql procedure?

980


What is list array in c#?

857


What is the example of predicate?

897