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

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 / venu gopal

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 ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between a function and a method?

917


What is constants in c#?

881


What is .edmx file?

969


Compare and contrast between the System.Array.CopyTo() and Clone()?

965


Why interface is required?

824


Explain About Virtual functions and their use.

1008


Explain the term inheritance in C#.

938


What is the difference between ref & out parameters in c#?

933


Where do we use serialization in c#?

887


Why we use anonymous methods in c#?

927


Explain the differences between static, void and public in c#?

999


Why c# is type safe?

917


What is access specifier in c#?

1051


What is the solution if you need to manipulate sets of items?

859


Can I fly with a loop recorder?

893