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.
Write down the ToolTipService timing properties in the WPF?
Write main difference between classic ADO and ADO.NET?
State the advantages Web services have over the Component Object Model (COM) and also the Distributed Component Object Model (DCOM)?
Explain how CAS works?
Write the syntax of the while loop in the C# program.
Specify the pre-requisites for connection pooling?
Explain about the DataAdapter.Update() and DataSetAcceptChanges() methods.
State the use of DropDownStyle property of the ComboBox control?
Briefly explain the use of a Panel control? And also state whether it displays during runtime?
How do dates, numbers, and currencies in a text box are formatted?
18,76,764
1949565 Asked
3,689
Active Tutors
1419705
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!