Should I Dispose() DataSet and DataTable?
DataSet and DataTable both implement IDisposable, so, by conventional best practices, I should call their Dispose() methods. However, from what I’ve read so … Read more
DataSet and DataTable both implement IDisposable, so, by conventional best practices, I should call their Dispose() methods. However, from what I’ve read so … Read more
Something like: using (IDisposable disposable = GetSomeDisposable()) { //….. //…… return Stg(); } I believe it is not a proper place for a … Read more
Why do some people use the Finalize method over the Dispose method? In what situations would you use the Finalize method over the … Read more
Do you need to dispose of objects and set them to null, or will the garbage collector clean them up when they go … Read more