✅ Disposable class level property
Hello
If there is a singleton service that uses a disposable class level property, should the service implement IDisposable as well?
Also, wouldn't the property be disposed automatically upon application shutdown, only if it implements IDisposable?
If there is a singleton service that uses a disposable class level property, should the service implement IDisposable as well?
Also, wouldn't the property be disposed automatically upon application shutdown, only if it implements IDisposable?