Bill Blogs in C#
Bill Wagner discusses C#, LINQ, and other items of interest
Browse by Tags
All Tags
»
GC
(
RSS
)
.NET General
C#
Yet another good explanation on the pitfalls of Finalization
Brian Grunkmeyer has written a rather deep article for the BCL weblog that discusses many of the pitfalls that surround finalization, dispose, and weird things that can happen during the birth, death, and possible resurrection of an object: http://blogs...
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...
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...
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...
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...
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...
Search
Go
Syndication
RSS for Posts
Atom
RSS for Comments
Tags
.NET General
articles
Azure
BookReviews
books
C#
C# General
DataBinding
DevCenterPosts
Effective C#
Euler
GC
generics
Graphics
Links
LINQ
local interest
Me
Mobile Development
products
Software Engineering
SRT Solutions
upcoming attractions
User Groups
web services
View more
Blog Recent Posts
Yet another good explanation on the pitfalls of Finalization
Should you make static variables using Disposable types?
GC.SuppressFinalize in constructors?
Eugenio Pace comments on IDisposable
Question and Answer on Non-Deterministic Finalization
Archives
June 2009 (4)
May 2009 (3)
April 2009 (2)
March 2009 (2)
February 2009 (4)
January 2009 (7)
December 2008 (3)
November 2008 (11)
October 2008 (15)
September 2008 (5)
August 2008 (8)
July 2008 (6)
June 2008 (3)
May 2008 (1)
April 2008 (9)
March 2008 (10)
February 2008 (2)
January 2008 (11)
December 2007 (6)
November 2007 (10)
October 2007 (8)
September 2007 (8)
August 2007 (7)
July 2007 (8)
June 2007 (3)
May 2007 (6)
April 2007 (7)
March 2007 (8)
February 2007 (6)
January 2007 (8)
December 2006 (2)
November 2006 (10)
October 2006 (14)
September 2006 (12)
August 2006 (8)
July 2006 (5)
June 2006 (8)
May 2006 (9)
April 2006 (9)
March 2006 (11)
February 2006 (11)
January 2006 (8)
December 2005 (6)
November 2005 (6)
October 2005 (11)
September 2005 (15)
August 2005 (10)
July 2005 (4)
June 2005 (11)
May 2005 (6)
April 2005 (3)
March 2005 (8)
February 2005 (6)
January 2005 (6)
December 2004 (12)
November 2004 (7)
October 2004 (4)
September 2004 (1)
August 2004 (1)
June 2004 (2)
May 2004 (3)
April 2004 (3)
March 2004 (3)
January 2004 (1)
Blog Group Links
Blogs on this Site
Nascar style badges