Disposing of Interfaces
Sometimes you run across situations where there is just no good solution. No matter which option you choose, there are downsides. I found one such situation today when trying to design an interface. The code below are simple examples I wrote for the purposes of this post. public interface INotifier { void Notify(string message); } I had written my initial implementation, which happened to use a resource that needed disposing....