Concept of the Destructor
Explain concept of the Destructor?
Expert
A Destructor is a special method for the class and is called automatically whenever an object is to be finally destroyed. Name of the destructor is also same as the class name but it is followed by a prefix tilde (~). A destructor is used to free the dynamic allocated memory and thus release the resources. You may, implement a custom method which permits you to control the object destruction by invoking the destructor.
The main attributes of the destructor are as follows:
a) As constructors, destructors are also always public.
b) Destructors does not have any return type.
c) We cannot overload Destructors.
Why do we require the nested master pages in the Web site?
Explain about the AppFabric component?
Briefly describe contra-variance and covariance in .NET Framework 4.0 and give an example for both?
Explain about the Take and Skip clauses?
Specify the syntax which is be used to inherit from a class in C#?
Describe in brief regarding the performance of Visual basic?
State the use of the Connection object?
State different Visual Basic features which provide support to the LINQ?
State the different ways by which a method can be overloaded?
The controls are fully loaded in which event?
18,76,764
1925360 Asked
3,689
Active Tutors
1423084
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!