Describe ways of cleaning up objects.

Answer Posted / mr. d

Using Dispose() method releases all the resources and memory
occupied by that object.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an interface extend a class c#?

711


Is c# code is managed or unmanaged code?

656


What is difference between throw and throws in c#?

622


How do you specify a custom attribute for the entire assembly?

656


What is predicate c#?

715


Why do we use yield in c#?

661


What is _layout cshtml?

646


What is use of console?

666


What kind of the information stored inside the assembly?

743


What is yield break in c#?

681


Is typeof c#?

722


What is attribute c#?

593


What is datatable and dataset in c#?

670


Differentiate between the public and private ?

738


Is string immutable in c#?

758