C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
C# provides a default constructor for me. I write a constructor that takes a string as a parameter ...
Answer:
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?
Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there is no implementation in
Two. Once you write at least one constructor, C# cancels the freebie constructor, and now you have to write one yourself, even if there is no implementation in
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
How do I create a multilanguage, multifile assembly? | What is the equivalent to regsvr32 and regsvr32 /u a file in .NET development? |