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 is singleordefault?

850


What is an escape sequence in c#?

923


From which base class do all Web Forms inherit from?

944


Can you access a hidden base class method in the derived class?

867


Can an array be null c#?

892


What does the keyword “virtual” declare for a method or property?

902


What is ienumerator c#?

814


What is the predicate of a sentence?

864


What is reference types in c#?

918


Why do we need interface in c#?

935


Describe two uses of the “using” statement during the operation of c#?

894


What is a statement c#?

901


What is difference between tostring() vs convert.tostring() vs (string) cast

992


what is inheritance and an example in vb.net and c# of when you might use it?

896


Does c# support c type macros?

867