Is it possible to have an object listen to some events, And when the object has done its task, dispose itself. Can this be done in .net. The other way(not preffered) would be to keep reference of this object in the object that created it so that GC does
not dispose it off. And when the object has completed its task, notify the creator which releases the reference.
View Complete Post