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 / guest

Two. Once you write at least one constructor, C# cancels
the freebie constructor, and now you have to write one
yourself, even if there?s no implementation in it

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of constructors in c#?

1138


What is cache memory in c#?

923


What is thread life cycle in c#?

987


what is virtual method in c#?

1197


Why is xml called extensible?

883


Can int be null in c#?

884


Why do we need constructor in c#?

945


Why do we use void in c#?

877


What happens when thread sleep () method is called?

913


Is it possible to have a static indexer in c#?

984


How do I count the length of a string in c#?

978


What is xml serialization in c#?

888


What is difference between string and stringbuffer in c#?

958


What is c# best for?

948


Can we extend sealed class in c#?

921