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.
List some differences between the CheckBox control and a RadioButton control?
Explain the following methods DataAdapter.Update() and DataSetAcceptChanges()?
By which command we can turn-off and turn-on CAS?
Write the control which exposes LINQ features to the Web developers through ASP.NET data-source control architecture.
Illustrate the difference between Web.Config and Machine.Config and where it will be?
What do you mean by ASP?
Illustrate the term LinqDataSource control?
What do you mean by the term Transport and Message Reliability?
How can we programmatically prevent the Combobox from dropping, in the .NET 4.0?
Write the name of the new method that has been introduced in ASP.NET 4.0 to redirect the page permanently?
18,76,764
1951580 Asked
3,689
Active Tutors
1420802
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!