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.
How we can enable impersonation in the web.config file?
How we can prevent validation control from validating data at client end?
Describe the endpoint in the WCF service in brief.
Distinguish the terms ADO.NET Dataset and an ADO Recordset?
What is Memory-Mapped Files?
Briefly describe about XSLT?
Name the latest features that added in .NET Framework 4.0?
Illustrate four common properties of all validation controls?
Briefly explain the term ExpandoObject?
Explain about the DataContext class and also how it is related to the LINQ?
18,76,764
1953875 Asked
3,689
Active Tutors
1460022
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!