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

If you want to convert a base type to a derived type, what type of conversion do you use?

936


What is difference between abstract class and interface in c#?

927


Is static class thread safe in c#?

930


Why do we use dataset in c#?

952


Why we use extension method in c#?

928


What is asp net in c#?

936


What is difference between an Structure and Class?

1097


What is namespace in oops?

890


What are object pooling and connection pooling and difference between them?

987


how to stored and retrive video in Sql server using asp.net c#......?

979


Why use “using” in c#?

943


What is a helper method in c#?

914


What do you mean by for each loop?

900


Does c# support templates?

963


How to implement a singleton design pattern in c#?

859