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.
Specify various states of the XMLHttpRequest along with their description.
List the various techniques to authenticate the user in ASP.NET?
What is meant by the Managed Extensibility Framework?
What do you mean by ASP?
List the types of Cookies that are available in ASP.NET?
What we can do to allot page specific attributes in the ASP.NET application?
Elucidate how you create a permanent cookie?
State different Visual Basic features which provide support to the LINQ?
Illustrate in .NET about different types of directives?
How a color is picked from the ColorDialog box?
18,76,764
1937118 Asked
3,689
Active Tutors
1416924
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!