<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Understanding Variable Capturing in C#</title><link>http://blogs.msdn.com/matt/archive/2008/03/01/understanding-variable-capturing-in-c.aspx</link><description>With the addition of anonymous delegates in C# 2.0 and with lambda expressions in C# 3.0 you might have been hearing a lot about variable capturing. This is the mechanism in which the delegate/lambda which was defined inline is able to hold on to any</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Understanding Variable Capturing in C#</title><link>http://blogs.msdn.com/matt/archive/2008/03/01/understanding-variable-capturing-in-c.aspx#7982236</link><pubDate>Sun, 02 Mar 2008 00:58:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7982236</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>Closures and Pass by Reference</title><link>http://blogs.msdn.com/matt/archive/2008/03/01/understanding-variable-capturing-in-c.aspx#8445902</link><pubDate>Thu, 01 May 2008 05:20:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8445902</guid><dc:creator>This Blog Can Also Be A Hat</dc:creator><description>&lt;p&gt;What do you think the following code will do? Compile time error Run time error Work fine 1: static void&lt;/p&gt;
</description></item></channel></rss>