Can constructor have return type c#?


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

Post New Answer

More C Sharp Interview Questions

How do you escape in c#?

0 Answers  


What is difference between method and function in c#?

0 Answers  


What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } Here What is My Question is? If i remove Interface and run this code, it will executed then what is the Use of the interface? Can any one give me the solution for this Problem? Thanks in Advance!

1 Answers   HCL,


What exactly is serverless?

0 Answers  


Which operator cannot be overloaded in c sharp?

0 Answers  






I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?

0 Answers  


What is uint16?

0 Answers  


What is the benefit of dependency injection c#?

0 Answers  


i have a string aabccefsdss.how can i get the string abcefsd. or write the fallowing string with only character occurrence of once .

1 Answers  


Advantages of c# over vb.net?

3 Answers   HCL, Syntel,


Give some examples for built in datatypes in c#?

0 Answers  


Why abstraction is used in c#?

0 Answers  


Categories