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
What is argument in c#?
Is c# good for web development?
What is a streamwriter in c#?
what is c# command?
What is the use of console application in c#?
Give an example to show for hiding base class methods?
What are events in C#?
Are objects passed by reference in c#?
write code for inserting and updating recoards in sql server database using connected architecture & records shoulds displayed in grid view ( use c# )
Explain how to implement an object pool in c#.net
What is the do while loop code?
What is clr in c#?
What is marshalling in c#?
What is parallel foreach in c#?
What is an assembly in .net?