destructor, Dispose, Finalize - How they relate to each other

Answer Posted / radhika

All three are used to clean the unmanaged resources
explicitly.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between “constant” and “read-only” variables used in c#?

501


Can a struct inherit from an interface in c#?

507


Is arraylist generic in c#?

460


What is a static field?

498


What kind of the information stored inside the assembly?

547






Explain inheritance in c#?

540


Is there regular expression (regex) support available to c# developers?

517


How do I port "synchronized" functions from visual j++ to c#?

478


What is difference between tostring() vs convert.tostring() vs (string) cast

534


Explain use of abstract and sealed classes in c#?

453


What is ilasm.exe used for?

500


Explain briefly the difference between value type and reference type?

545


What is hashtable c#?

467


What is the root element of an xml file?

489


Why do we use namespace in c#?

513