title: How can I make this Dictionary TryGetValue code more readable?
body: <p>I'd like to test if an id was not yet known or, if it is known, if the associated value has changed. I'm currently using code similar to this, but it is hard to understand for those not familiar with the pattern. Can you think of a way to make it more readable while keeping it short in LOC?</p>
  
  <pre><code>string id;
  string actual;
  string stored;
  
  if (!someDictionary.TryGetValue (id, out stored) || stored != actual) {
      // id not known yet or associated value changed.
  }
  </code></pre>