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
How do you create threading in.net?
Explain what is the difference between web application and enterprise application?
Explain Creational design pattern in .NET?
What are the security policy levels in .Net
What is the difference between server.transfer and response.redirect? Why?
What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?
Explain something about WebService?
Explain what are possible implementations of distributed applications in .net?
What is delegation in .net?
Using com component in .net?
What is class library in .net
Who is using .net core?
What are the core differences between .NET Languages ?
Usually in .net, the clr takes care of memory management. Is there any need for a programmer to explicitly release memory and resources? If yes, why and how?
What is implement a generic action in webapi?