Monday, July 20, 2009

Good Example of using IDisposable with File Streams

Here is a simple, yet good example of how to implement IDisposable when dealing with File Streams:


http://www.blackwasp.co.uk/IDisposable.aspx


Here is a similar example with some discussion, but the first link is probably better:

http://stackoverflow.com/questions/1136210/am-i-implementing-idisposable-correctly

No comments: