Answer Posted / megha
Constructor is a method having same name as that of a
class.It is automatically invoked when an object is
created.It is used to Initialize variables of a class.It has
no return types.
3 types of constructors are:-
1)default constructor
2)parameterised constructor
3)static constructor
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain me what is an anonymous method and how is it different from a lambda expression?
State some of the different languages supported by .net?
What is the single responsibility principle?
Explain the difference between static page and dynamic page?
What are multicast delegates?
Can a try block have more than one catch block?
Can you edit data in repeater control? How?
Difference between abstract class and interface in .net?
Compare client server application with n-tier application
What is .net and .net framework?
How is .net able to support multiple languages?
How will you register com+ services?
What is assemblies in .net?
Explain security measures exist for .net remoting in system.runtime.remoting?
What is the use com component in .net?