<?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: Multiple Generic IEnumerable</title>
	<atom:link href="http://www.csharp411.com/multiple-generic-ienumerablet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/multiple-generic-ienumerablet/</link>
	<description>C# Development</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:14:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Erik</title>
		<link>http://www.csharp411.com/multiple-generic-ienumerablet/#comment-680</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Sat, 22 Oct 2011 19:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/multiple-generic-ienumerablet/#comment-680</guid>
		<description>Thank&#039;s a lot...</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yann Trevin</title>
		<link>http://www.csharp411.com/multiple-generic-ienumerablet/#comment-679</link>
		<dc:creator>Yann Trevin</dc:creator>
		<pubDate>Fri, 30 May 2008 06:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/multiple-generic-ienumerablet/#comment-679</guid>
		<description>Yes. Actually, I didn&#039;t know it was possible. Thanks for the article.</description>
		<content:encoded><![CDATA[<p>Yes. Actually, I didn&#8217;t know it was possible. Thanks for the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjan`s World &#187; LINKBLOG for May 29, 2008</title>
		<link>http://www.csharp411.com/multiple-generic-ienumerablet/#comment-678</link>
		<dc:creator>Arjan`s World &#187; LINKBLOG for May 29, 2008</dc:creator>
		<pubDate>Thu, 29 May 2008 15:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/multiple-generic-ienumerablet/#comment-678</guid>
		<description>[...] Multiple Generic IEnumerable&lt;T&gt; - Tim M [...] </description>
		<content:encoded><![CDATA[<p>[...] Multiple Generic IEnumerable&lt;T&gt; &#8211; Tim M [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: timm</title>
		<link>http://www.csharp411.com/multiple-generic-ienumerablet/#comment-677</link>
		<dc:creator>timm</dc:creator>
		<pubDate>Thu, 29 May 2008 12:43:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/multiple-generic-ienumerablet/#comment-677</guid>
		<description>Although I have not seen any C# coding guidelines that prohibit multiple enumerable interfaces, I would agree that it&#039;s not an intuitive solution if the enumerable data types are incompatible (e.g., enumerating Color and Rectangle).  In this case we are enumerating over the same collection but returning different, compatible types (though for simplicity in this example I omitted the implicit conversion between MyInt and int).

In our final solution, we ended up enumerating over just a single type and provided a separate property for the other type, simply to be more clear to the clients.  But it was interesting to discover that enumerating over multiple types in the same class is possible.

Thanks for commenting!</description>
		<content:encoded><![CDATA[<p>Although I have not seen any C# coding guidelines that prohibit multiple enumerable interfaces, I would agree that it&#8217;s not an intuitive solution if the enumerable data types are incompatible (e.g., enumerating Color and Rectangle).  In this case we are enumerating over the same collection but returning different, compatible types (though for simplicity in this example I omitted the implicit conversion between MyInt and int).</p>
<p>In our final solution, we ended up enumerating over just a single type and provided a separate property for the other type, simply to be more clear to the clients.  But it was interesting to discover that enumerating over multiple types in the same class is possible.</p>
<p>Thanks for commenting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yann Trevin</title>
		<link>http://www.csharp411.com/multiple-generic-ienumerablet/#comment-676</link>
		<dc:creator>Yann Trevin</dc:creator>
		<pubDate>Thu, 29 May 2008 05:34:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.csharp411.com/multiple-generic-ienumerablet/#comment-676</guid>
		<description>This is interesting, but I would tend to consider multiple enumerable interfaces as a smell for a poorly designed class. Perhaps it would be better to create two properties returning a dedicated enumerable collection (Like the DataGridView class which has &quot;Rows&quot; and &quot;Columns&quot; properties, instead of being directly able to enumerate rows and columns.)</description>
		<content:encoded><![CDATA[<p>This is interesting, but I would tend to consider multiple enumerable interfaces as a smell for a poorly designed class. Perhaps it would be better to create two properties returning a dedicated enumerable collection (Like the DataGridView class which has &#8220;Rows&#8221; and &#8220;Columns&#8221; properties, instead of being directly able to enumerate rows and columns.)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

