In C#, if a class, such as a manager class, does not have resources, is there any benefit to having it : IDisposable?
: IDisposable
Simple example:
pu
No, if there are no (managed or unmanaged) resources there is no need for IDisposable either.
IDisposable
Small caveat: some people use IDisposable to clean up eventhandlers or large memory buffers but