Answer Posted / vimala
the dispose() method is used to remove the unused resources
from the memory.
whereas the destructor () method is used to deallocate the
allocated memory by the constructor() method.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Is list ienumerable c#?
What is thread safe in c#?
Explain how to implement delegates in c#.net
Can struct have constructor c#?
Why is .net so popular?
Explain what is the smallest unit of execution in .net?
What is type keyword in c#?
How do you achieve polymorphism in c#?
What do you mean by saying a "struct is a value type"?
What is meant by generics in c#?
How do destructors and garbage collection work in c#?
What is namespace c#?
What are the classes contained in a single .NET DLL ?
How many types of interface are there in c#?
How long can a string be c#?