title: Need help on understanding different IF statements
body: <p>Why doesn't this work?</p>
  
  <pre><code>dictionary.ContainsKey(input) ? int value = dictionary[input] : "Not Found";
  </code></pre>
  
  <p>And why the following does?</p>
  
  <pre><code>if (dictionary.ContainsKey(input)) { int values = dictionary[input]; }
  </code></pre>