C# (Sharp) Programming Language Question: Download Questions PDF
Constructor in C#.
![C# (Sharp) Programming Language Interview Answer C# (Sharp) Programming Language Interview Question](https://globalguideline.com/public/images/interview/23.png)
Answer:
Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initialises the member attributes whenever an instance of the class is created.
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the two kinds of properties. | Describe ways of cleaning up objects in C#. |