<?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: KeyedCollection: Dictionary for Values with Embedded Keys</title>
	<atom:link href="http://www.csharp411.com/keyedcollection-dictionary-for-values-with-embedded-keys/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/keyedcollection-dictionary-for-values-with-embedded-keys/</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Sat, 24 Jul 2010 01:26:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://www.csharp411.com/keyedcollection-dictionary-for-values-with-embedded-keys/comment-page-1/#comment-92</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Sun, 24 Feb 2008 21:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/keyedcollection-dictionary-for-values-with-embedded-keys/#comment-92</guid>
		<description>Hi:

Nice article. While I&#039;ve gotten a corresponding example to work based upon your example, I haven&#039;t been able to get one to work where the collection key is itself a class (I&#039;ve been experimenting with key class containing two longs).

I&#039;m fairly sure I need to override the indexer
 (public TItem this[ Tkey key ] {get;})
but I don&#039;t see what needs to be put into the accessor for efficient access, other than some kind of for loop (which seemed like it would defeating the purpose of an efficient lookup).  Could you point out what I&#039;m missing?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi:</p>
<p>Nice article. While I've gotten a corresponding example to work based upon your example, I haven't been able to get one to work where the collection key is itself a class (I've been experimenting with key class containing two longs).</p>
<p>I'm fairly sure I need to override the indexer<br />
 (public TItem this[ Tkey key ] {get;})<br />
but I don't see what needs to be put into the accessor for efficient access, other than some kind of for loop (which seemed like it would defeating the purpose of an efficient lookup).  Could you point out what I'm missing?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
