Are there constructors in c sharp?



Are there constructors in c sharp?..

Answer / Bharadwaj Upadhyay

Yes, constructors are special methods used to initialize objects when they are created. In C#, every class has a default constructor even if it's not explicitly defined.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Where is the output of TextWriterTraceListener redirected?

1 Answers  


State the top.NET class that everything is derived from?

1 Answers   Siebel,


What is inumerable?

1 Answers  


How you will connect to windows directory in c#?

2 Answers   HP, nTech Solutions,


Explain the difference between // comments, /* */ comments and /// comments?

1 Answers  


What is function c#?

1 Answers  


What?s an abstract class?

5 Answers   Siebel,


Is an array an object c#?

1 Answers  


What is the console on a mac?

1 Answers  


Which is the best language for desktop application?

1 Answers  


Can a abstract class have a constructor?

1 Answers  


Is it true that all c# types derive from a common base class?

1 Answers  


Categories