<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Control.InvokeRequired, DelegateMarshaler and Anonymous Methods</title>
	<atom:link href="http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 13 Jan 2010 16:31:08 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ISynchronizeInvoke &#171; Little Plastic Squares</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-5367</link>
		<dc:creator>ISynchronizeInvoke &#171; Little Plastic Squares</dc:creator>
		<pubDate>Tue, 06 Jan 2009 16:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-5367</guid>
		<description>[...] long story short: I found this cool thing that lets you use C# 3&#8217;s lambdas to describe the work you want to do on the GUI thread.     [...]</description>
		<content:encoded><![CDATA[<p>[...] long story short: I found this cool thing that lets you use C# 3&#8217;s lambdas to describe the work you want to do on the GUI thread.     [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-526</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Fri, 29 Aug 2008 14:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-526</guid>
		<description>Hi Bill,

Yes, if you&#039;re using C# 2.0, then you can&#039;t use the &quot;lambda expression&quot; anonymous method syntax.  I actually think the correct line would be

+= delegate(object o, DataReceivedEventArgs args) { ... }

I think you still need to explicitly declare the types.</description>
		<content:encoded><![CDATA[<p>Hi Bill,</p>
<p>Yes, if you&#8217;re using C# 2.0, then you can&#8217;t use the &#8220;lambda expression&#8221; anonymous method syntax.  I actually think the correct line would be</p>
<p>+= delegate(object o, DataReceivedEventArgs args) { &#8230; }</p>
<p>I think you still need to explicitly declare the types.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Tribley</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-524</link>
		<dc:creator>Bill Tribley</dc:creator>
		<pubDate>Fri, 29 Aug 2008 14:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-524</guid>
		<description>I am using c# 2.0. So, instead of 

+= (o,args)=&gt;{ block }

use

+= delegate(o,args){ block }

correct?</description>
		<content:encoded><![CDATA[<p>I am using c# 2.0. So, instead of </p>
<p>+= (o,args)=&gt;{ block }</p>
<p>use</p>
<p>+= delegate(o,args){ block }</p>
<p>correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: valerio.net &#187; Blog Archive &#187; Monitor a Process Asynchronously - More DelegateMarshaler Tricks</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-324</link>
		<dc:creator>valerio.net &#187; Blog Archive &#187; Monitor a Process Asynchronously - More DelegateMarshaler Tricks</dc:creator>
		<pubDate>Sat, 09 Aug 2008 17:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-324</guid>
		<description>[...] Control.InvokeRequired, DelegateMarshaler and Anonymous Methods  [...]</description>
		<content:encoded><![CDATA[<p>[...] Control.InvokeRequired, DelegateMarshaler and Anonymous Methods  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-282</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-282</guid>
		<description>Hi jhunter,

Hmm, that&#039;s weird. Can you post the line of code where the compiler is complaining?

Also, which version of C# are you targeting?  If you&#039;re only using C# 2.0, then the syntax for the lambda expression (&quot;() =&gt; ...&quot;) isn&#039;t supported.  Lambda expressions were a C# 3.0 addition, though you can accomplish the same thing in C# 2.0 using &quot;delegate() { }&quot;, etc.</description>
		<content:encoded><![CDATA[<p>Hi jhunter,</p>
<p>Hmm, that&#8217;s weird. Can you post the line of code where the compiler is complaining?</p>
<p>Also, which version of C# are you targeting?  If you&#8217;re only using C# 2.0, then the syntax for the lambda expression (&#8221;() => &#8230;&#8221;) isn&#8217;t supported.  Lambda expressions were a C# 3.0 addition, though you can accomplish the same thing in C# 2.0 using &#8220;delegate() { }&#8221;, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jhunter</title>
		<link>http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/comment-page-1/#comment-281</link>
		<dc:creator>jhunter</dc:creator>
		<pubDate>Wed, 30 Jul 2008 15:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://thevalerios.net/matt/2008/07/controlinvokerequired-delegatemarshaler-and-anonymous-methods/#comment-281</guid>
		<description>I tried to do this but in the Invoke method Action is a generic and wants a  and then it complains because action wants a parameter (rather than ()) and &quot;o&quot; is not declared.  Have I missed a using?</description>
		<content:encoded><![CDATA[<p>I tried to do this but in the Invoke method Action is a generic and wants a  and then it complains because action wants a parameter (rather than ()) and &#8220;o&#8221; is not declared.  Have I missed a using?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
