what is a constructor?
Answer Posted / shadab alam
It is very Important to know that
---------------------------------------
Constructor is generally used to create the new instance of
a class.
Constructor is special type of method that is used to
initialized the member variable and It has same name as the
class Name.It does not have return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can I call a virtual method from a constructor/destructor?
What do you understand by 'access specifiers' in C#?
What is the best dependency injection c#?
How can I produce an assembly?
What is difference between override and new in c#?
What do u meant by "SBI" of an object?
Is stringbuilder thread safe c#?
What method is used to sort the elements of the array in descending order?
List down the fundamental oop concepts?
How do I edit a dll file?
What are partial types in c#?
What is .edmx file?
Is ram a heap?
Why do we use dictionary in c#?
Can you use foreach iteration on arrays in c#?