Many times, it happens that we need to implement IDisposable interface in our class. E.g. we have created a class and this class has some managed resources as well as some unmanaged resources. Now, in our whole project, all other classes / services started to consume this class. After consuming of a class, its responsibility of developer to release / dispose consumed objects.
Read More