Can a class or a struct have multiple constructors?



Can a class or a struct have multiple constructors?..

Answer / Sharad Kuamr Sain

Yes, both classes and structs can have multiple constructors in C#. This allows for more flexibility when creating objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why do we need events in c#?

1 Answers  


Which is faster iqueryable or ienumerable?

1 Answers  


can we drive a class from delegate?

4 Answers   InterGraph,


What is icomparable in c#?

1 Answers  


What is attribute c#?

1 Answers  


What is lazy in c#?

1 Answers  


Explain About .Net remoting

1 Answers   Digital GlobalSoft,


Does c# support templates?

1 Answers  


What are the 4 pillars of any object oriented programming language?

1 Answers  


Explain about generics in c#.net?

1 Answers  


What does protected internal access modifier mean?

1 Answers  


What is the difference between virtual and override in c#?

1 Answers  


Categories