Differentiate between the Finalize and Dispose in DOT NOT
Differentiate between the Finalize() and Dispose()?
Expert
The Finalize() method is called involuntarily by the runtime. Common Language Runtime has a garbage collector (GC) that occasionally makes sure for objects in heap which are no longer referenced by some objects or programs. It calls the Finalize() method to free the memory utilized by such objects. The Dispose() method is not called automatically but by the programmer. It is another method to free the memory utilize by an object. The Dispose method requires to be explicitly called in code to dereference an object from the heap. The Dispose method can be called up only by the classes which implements the IDisposable interface. CLR utilizes the Finalize and Dispose methods to execute garbage collection of run-time objects of .NET applications.
Compare and contrast in brief the C# and Visual basic.NET?
Explain the use of a CommandBuilder class?
State the advantages Web services have over the Component Object Model (COM) and also the Distributed Component Object Model (DCOM)?
Specify the similarities between a class and a structure.
Which event controls are completely loaded?
What is Object?
Explain Hashtable?
Write down the use of console application in brief?
By which command we can turn-off and turn-on CAS?
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?
18,76,764
1928836 Asked
3,689
Active Tutors
1453974
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!