Dispose() and Finalize() methods
Specify the differences between the Dispose() and Finalize() methods.
Expert
CLR utilizes the Finalize and Dispose methods to execute garbage collection of run-time objects of .NET applications.
The Finalize () method is called automatically by runtime. CLR has garbage collector (GC), that periodically checks for objects in the heap which are no longer referenced by any of the object or program. It calls the Finalize method in order to free the memory utilized by these type of objects.
The Dispose () method is called manually by the programmer. Dispose is other method to evacuate the memory used by the object. The Dispose method required to be called explicitly in the code to dereference an object within the heap. The Dispose method can be invoked by the classes that implements the IDisposable interface.
By which method we can sign out from the forms authentication?
List some differences between the CheckBox control and a RadioButton control?
State some differences between the ComboBox control and a ListBox control?
Specify difference between the asynchronous postback and the synchronous postback?
What is the function of Orientation property in a Menu control?
Illustrate the term Web User Control?
Elucidate the term Windows authentication?
Specify the operating systems over which the .NET Framework runs upon?
Explain the term culture and and UICulture values?
Write down the command which is used to run a batch?
18,76,764
1934877 Asked
3,689
Active Tutors
1424987
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!