Why do we need private constructor in c#?


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

Post New Answer

More C Sharp Interview Questions

What is stringwriter c#?

0 Answers  


What is the purpose of static?

0 Answers  


I want to single value if you give any integer value. Below are examples  1. Input: 123  Output: 6 2. Input: 99   9+9=18   1+8  Output: 9 How to get above output?

1 Answers   AxSys,


class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?

2 Answers  


Can I do things in il that I can't do in c#?

0 Answers  






What is the output of TextWriterTraceListener redirected?

0 Answers   Siebel,


what is the default access for a class

0 Answers   Cognizant,


Can a abstract class have a constructor?

0 Answers  


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

5 Answers  


Can you declare the override method static while the original method is non-static?

3 Answers  


What Are The .Net Object

2 Answers   IMB, Reliance,


For methods inside the interface why can’t you specify the accessibility modifier?

0 Answers   Siebel,


Categories