Explain constructor in c#?
A constructor in C++ is a special 'MEMBER FUNCTION' having the same name as that of its class which is used to initialize some valid values to the data members of an object. It is executed automatically whenever an object of a class is created
Is This Answer Correct ? | 0 Yes | 0 No |
What is the C# syntax to catch any possible exception?
What is the advantage of constructor in c#?
What is the benefit of dependency injection c#?
What is dapper in c#?
how to implement singelton in C# & its uses?
What is the full form of GAC? Explain its uses?
What are fields in c#?
What are Uses of CLR
What is an arraylist in c#?
What is difference between interface inheritance and class inheritance ?
List out two different types of errors in c#?
What is the use of the static constructor? When static constructor gets compiled?