Browse by Tags
Sorry, but there are no more tags available to filter with.
-
Should you make static variables using Disposable types?
-
A question with two answers: No, and Occasionally. I received this question last week: I'm still working through and enjoying "Effective C#", unfortunately my job has really intruded for...
-
GC.SuppressFinalize in constructors?
-
SQLConnection, for one, calls GC.SuppressFinalization() in its constructor. Why would you do that? A fried of mine asked about the practice of calling GC.SuppressFinalize() in a constructor. He noticed...
-
Eugenio Pace comments on IDisposable
-
Quote: "Why should a developer building "business solutions" ever care about closing a connection to a database, or even opening it?" Eugenio has an interesting take on IDisposable...
-
Question and Answer on Non-Deterministic Finalization
-
Always close files and streams Question : I read your article Manage C# Objects in Visual Studio magazine. I'm having a problem using the XmlDataDocument class and was wondering if you think this is...
-
Q & A On IDisposable and Memory Management
-
Wasn't this supposed to be easier? Hi Bill I am an independent MSCD for Microsoft .NET, and I always enjoy your writing. Your article beautifully explains the Dispose application implementation pattern...