title: Dictonary.Keys.Any output
body: <p>I have a Dictionary containing a string as a key and MyClass as a Value.
  I also have an array of strings. I am checking in an if-condition, if a certain string contains any of the known keys in the dictionary:</p>
  
  <pre><code>if (MyDictionary.Keys.Any(k =&gt; MyStringArray[i].Contains(k)))
  </code></pre>
  
  <p>The Problem I have is: I need the value of k for which the check is true. So I want to know, which of the keys is contained in the string. How can I do this? Thank you for your help!</p>