title: How to average all items in a dictionary and average by key
body: <p>I am new to using a dictionary in <code>C#</code>. I would like to know the <strong>syntax</strong> on how I could get the <strong>Average</strong> of all items and by Key. I'm not knowledgeable about <code>Linq</code> syntax also.</p>
  
  <p>Below is the initialization of my dictionary.</p>
  
  <pre><code>Dictionary &lt;string, double&gt; scoreDictionary = new Dictionary &lt;string, double&gt;();
  </code></pre>
  
  <p>How can I get the <strong>average</strong> of the dictionary as a <code>WHOLE</code> and by specifying a certain<code>KEY</code>string? Is the <code>scoreDictionary.Average()</code> the method to be used?</p>
  
  <p>Thank you very much!</p>