joedu wrote:Fyi, a bit more reading on the whole disposable topic is available on my blog:
http://www.bluebytesoftware.com/blog/PermaLink.aspx?guid=1fe0f820-5b2b-4b17-82af-08142e7f308a
Feedback, questions, comments, etc. are welcome.
Hi Joedu! I hope you are not changing the behaviour of the interfaces!!
I mean if I implement for example IList and IList<T>, but I want to show the user only the IList<T> implementation. I'm hiding IList by implementing it implicitly (i guess this was the right term - I'm always confusing them). If somebody wants the implementation of IList the cast to IList must be done. It should be done this way and nothing should be changed.
Are you going to change this behaviour? Are all members of IList and IList<T> then accessible without cast (even the one from IList)?