What is Dispose method in .NET ?
Answer Posted / neerajtyagi
Whenever you want to release unusable resources used by
your class automatically , you should implement IDisposable
interface in your class.
Implementing IDisposable will provide you Dispose method in
subclass, where you can code your own to release unused
resources.
Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
What is a bool in c#?
Who is a accessibility modifier “protected internal†available to ?
Name which controls do not have events?
Is there an equivalent to the instanceof operator in visual j++?
What is Implicit conversion in C#?
Which string method is used for concatenation of two strings in c#?
Why is it called c sharp?
Can properties be static in c#?
What are the features of c#?
What is default value of enum c#?
write program in c# using this instructions name avinash varma ,work experiance<2,nochildren his work experiance is higher than 5 years,more than one children one children name is diwakar,number of years of work eperiance at current company is the ratio of children and work experiance is 0.21 to 0.5
Name the property of the textbox which cannot be changed at runtime?
Is comparator a functional interface?
Is null empty or whitespace c#?
Can you pass value types by reference to a method?