Can a constructor have a return type?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

What is the minimum size (in bytes) of string data type in c#? Give its compatible data type in .NET Framework.

5 Answers  


What is the Difference between a sub and a function?

3 Answers   Wipro,


What is the difference between string keyword and system.string class?

0 Answers  


What exactly happens when we debug and build the program?

0 Answers  


What is a hash table c#?

0 Answers  






write the Syntax for Function or Method Overriding?

5 Answers   HCL,


How can I process command-line arguments?

0 Answers  


How can we sort an array in c#?

0 Answers  


What does console mean c#?

0 Answers  


Is array reference type / value type ?

6 Answers   Accenture, BirlaSoft,


Why main method is static in c#?

0 Answers  


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?

2 Answers  


Categories