What is a constructor in c#?

Answers were Sorted based on User's Feedback



What is a constructor in c#?..

Answer / nashiinformaticssolutions

• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.

Is This Answer Correct ?    0 Yes 0 No

What is a constructor in c#?..

Answer / glibwaresoftsolutions

• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.

Is This Answer Correct ?    0 Yes 0 No

What is a constructor in c#?..

Answer / hr@tgksolutions.com

• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.

Is This Answer Correct ?    0 Yes 0 No

What is a constructor in c#?..

Answer / Roopkishora

A constructor in C# is a special method that gets called automatically when an object of a class is created. It's used to initialize the object's state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is ilist c#?

1 Answers  


What is the benefit of dependency injection c#?

1 Answers  


What is the example of predicate?

1 Answers  


How do generics work in c#?

1 Answers  


What is difference between static and readonly in c#?

1 Answers  


What is an iqueryable in c#?

1 Answers  


What is data bind in c#?

1 Answers  


How many constructors can a class have c#?

1 Answers  


What is the Difference between directcast and ctype?

1 Answers   Wipro,


What is a .exe extension files? How is it similar to .dll extension files?

1 Answers   Accenture,


What sort algorithm does c# use?

1 Answers  


What’s thread.sleep() in threading ?

1 Answers  


Categories