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 dapper in c#?

967


What is a hash table in c#?

1020


What is private variable?

903


Explain About Virtual functions and their use.

1039


Major difference between Basic httpbinding and WShttpbinding?

1073


What is constants in c#?

911


Do events have return type c#?

949


What is data binding with example?

990


What is gridview c#?

910


How many constructors can a class have in c#?

921


Is arraylist type safe in c#?

1001


How can you reference current thread of the method ?

973


Is c# slower than java?

891


What is ac callback?

913


What is variable and its classification?

946