Q:

Searching a dictionairy with an array as key?

I was wondering if it was possible to have a dictionairy, where the key is an array of strings, and then search through the dictionairy by comparing a search term with the array?
EG: 
my array has 7 words in it
That array is the key. I want to search the dictionary for any key/value where the key might contain the word 'has'. Is this possible?

A:

No, that basically won't work - even with a custom equality comparer. It sounds like what you really want is a dictionary of individual words, where each individual entry has multiple values. You can create that pretty easily using ToLookup, if you've got the input data as a sequence already.

