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.
Describe the role of new keyword in brief.
Illustrate the term ASP.NET?
Write down the benefit of packaging over xcopy in the .NET?
Describe memory-mapped files?
List the types of data types that are present in .NET?
Explain the importance of the Strong Name tool?
Distinguish among a Thread and a Process?
How the cursor can be programmatically positioned on a given line or on a character in the RichTextBox control in C#?
What is Object?
Write the syntax to declare the namespace in the .NET and in VB?
18,76,764
1944068 Asked
3,689
Active Tutors
1450743
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!