SRT Solutions

Blogs

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 the past 2 months. I'm at Item 18: "Implement the standard Dispose pattern". It says that...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Mon, Oct 3 2005
  • 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 it in the SQLConnection constructor. It’s also present in a number of other components, such...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Wed, Feb 9 2005
  • 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, or the needs for business developers to actually care about resource acquisition or release. He sez...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Thu, Dec 23 2004
  • 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 a situation where I should use IDisposable as described in your article. The way the form works is...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Wed, Dec 8 2004
  • 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. However, there is one important aspect which you do not address and which, in the whole MSDN library...
    Posted to Bill Blogs in C# (Weblog) by wwagner on Tue, Apr 20 2004

In our last colurm, we wrote about how technical mentors can benefit companies ( Ann Arbor Business Review, May 22, 2008 ). In this installment, we're...