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.
What is covariance and contra-variance in .NET Framework 4.0 with example for each.
Write down the three main points in WCF?
Illustrate the use of CommandBuilder class?
Why do we require the nested master pages in the Web site?
Is it a good practice to practise handle the exceptions in code?
Elucidate the types of Authentication?
Write the difference between the WindowsDefaultLocation and WindowsDefaultBounds properties?
Name the root namespace which is used for fundamental types in .NET Framework?
Describe the differences between the Server-side and Client-side code?
18,76,764
1951098 Asked
3,689
Active Tutors
1435668
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!