I think I will look at the "using" keyword and syntax

I'll admit it.  I have never liked the "using" keyword in C#.  I prefered the try-catch-finally syntax.  I felt that "using" masked what has happening behind the scenes and I felt it was undesirable.  I still think it does.  However, I just read Uncle Kirk's blog entry about the CLR team talk.  I think I am going to look at this again with the CLR Profiler and see if there is a difference on some common operations that I perform.  Results will be discussed later.


1 Comment

  • I too have just kept using try/finally instead of using -- for the same reasons -- plus until 2005 comes out there isn't a similar alternative for VB. I see no reason to switch though, so let me know if you find one. :)

Comments have been disabled for this content.