This project has moved. For the latest updates, please go here.

Why is ExcelRangeBase IDisposable?

Feb 23, 2012 at 8:32 AM

ExcelRangeBase is IDisposable, and some (but by no means all) samples use the `using` statement to dispose it.

However from what I can see, Dispose doesn't do anything.

Why is it IDisposable?  Should all acceses to an ExcelRangeBase be wrapped in a using statement?

Jun 4, 2015 at 7:55 AM
I am curious as well. Looks like a really weird design decision. What Dispose method is supposed to dispose when it comes to collection of cells?