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 add or remove rows from a DataTable object of DataSet?
Briefly describe side-by-side execution and also explain whether two applications, one using the shared assembly and other private assembly be declared as side-by-side executables?
Explain the use of Windows Installer.
Which method is used to kill explicitly the users session?
Write the difference between for loop and the while in C#.
Name the events that are fired during a page load?
State the relationship between Class and an Object?
State different Visual Basic features which provide support to the LINQ?
When.NET was developed?
Provide a detailed introduction on the Side-by-side execution. May two applications, one using private assembly and the other using the shared assembly be stated as side-by-side executable?
18,76,764
1944847 Asked
3,689
Active Tutors
1445047
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!