Eric Gunnerson
Posts: 1006
Nickname: ericgu
Registered: Aug, 2003
|
Eric Gunnerson is a program manager on the Visual C# team
|
|
|
|
RAII and C#
|
Posted: Apr 21, 2004 11:48 PM
|
|
|
This post originated from an RSS feed registered with .NET Buzz
by Eric Gunnerson.
|
Original Post: RAII and C#
Feed Title: Eric Gunnerson's C# Compendium
Feed URL: /msdnerror.htm?aspxerrorpath=/ericgu/Rss.aspx
Feed Description: Eric comments on C#, programming and dotnet in general, and the aerodynamic characteristics of the red-nosed flying squirrel of the Lesser Antilles
|
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Eric Gunnerson
Latest Posts From Eric Gunnerson's C# Compendium
|
|
Daniel wrote:
I've been reading your blog for quite some time, and, while I love C#, I never understood why it doesn't support RAII (Resource Acquisition Is Initialization). You know, in C++ you can acquire some resource (a handle, a file, a connection) on the class constructor and have it predictably disposed on the class destructor.
Brian Harry wrote a great post on this a couple of years ago
Read: RAII and C#
|
|