Softlogger
Categories

C# 3.0 Object Initializers Revisited


A while ago I posted about this new C# 3.0 feature . Although the IL code (aargh, yet another of these posts :-)) in that post reveals how object initializers are implemented internally, I wanted to make it slightly more explicit over here to avoid confusion. Consider the following C# 3.0 fragment: using System;

Filed under: CSharp  |    On : 2007 Nov 22  |  From: B# .NET Blog   | related Posts

Similar Posts



Most Popular

Archives

  • 2008
  • 2007
  • 2006
  • 2005
  • 2004
  • 2003