Author: koolprogrammer | Posted on: 6/11/2008 4:14:58 AM | Views : 506

 if we call Dispose() in a class we need to implement IDisposable.. why do we have to do this? implementing an interface is like a contract right? if an interface has some methods and we implement that interface we need to provide implementation to all the methods in that interface.. we can do that without implementing the interface right? is it to make it clear that Dispose method is implemented that we implement IDisposable?

...

Go to the complete details ...