<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Operator + cannot be applied to operands of type string and method group, C# error</title>
	<atom:link href="http://dotnetcoderoom.wordpress.com/2008/09/08/operator-cannot-be-applied-to-operands-of-type-string-and-method-group-c-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://dotnetcoderoom.wordpress.com/2008/09/08/operator-cannot-be-applied-to-operands-of-type-string-and-method-group-c-error/</link>
	<description>ASP.Net, VB.Net, C#, Microsoft Visual Studio .Net, Quick Tutorials, .Net Tips and Tricks, asp.Net Tips and Tricks, Html, Ajay Sharma's Blog, Java Script, javascript, .Net Sample Codes</description>
	<lastBuildDate>Sat, 10 Oct 2009 14:58:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MR</title>
		<link>http://dotnetcoderoom.wordpress.com/2008/09/08/operator-cannot-be-applied-to-operands-of-type-string-and-method-group-c-error/#comment-86</link>
		<dc:creator>MR</dc:creator>
		<pubDate>Thu, 03 Sep 2009 16:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetcoderoom.wordpress.com/?p=109#comment-86</guid>
		<description>I think you also can get this if you inadvertently try to iterate through an IEnumerable with a for loop.</description>
		<content:encoded><![CDATA[<p>I think you also can get this if you inadvertently try to iterate through an IEnumerable with a for loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://dotnetcoderoom.wordpress.com/2008/09/08/operator-cannot-be-applied-to-operands-of-type-string-and-method-group-c-error/#comment-52</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sun, 14 Dec 2008 07:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://dotnetcoderoom.wordpress.com/?p=109#comment-52</guid>
		<description>Also, the ony time I&#039;ve ever seen that error is when you try to use the plus operator with a value and a method (ie, you forgot to use parens). Example:

int y = 5 + SomeClassInstance.SomeMethod;

That will raise an the error you show. The line should read:

int y = 5 + SomeClassInstance.SomeMethod();   // Notice the parens at the end.</description>
		<content:encoded><![CDATA[<p>Also, the ony time I&#8217;ve ever seen that error is when you try to use the plus operator with a value and a method (ie, you forgot to use parens). Example:</p>
<p>int y = 5 + SomeClassInstance.SomeMethod;</p>
<p>That will raise an the error you show. The line should read:</p>
<p>int y = 5 + SomeClassInstance.SomeMethod();   // Notice the parens at the end.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
