title: I can't find where my errors are
body: <p>I get two errors "Cannot assign to 'C' because it's a 'foreach iteration variable" and "Syntax error, value expected" I don't really know where my error is? I can get some fresh on eyes to ID my deficiency. </p>
  
  <pre><code>int[] numDictionary = new int[] { 5, 5, 5, 7, 7, 7, 9, 7, 9, 9, 9, 1 };
  
  IDictionary&lt;int, int&gt; count = new SortedDictionary&lt;int, int&gt;();    
  //count = new SortedDictionary&lt;int, int&gt;();
  //int SortedDictionary = count;
  
  foreach (var c in numDictionary)
  {
      if (c &gt; 0)
      {
          count[c] = count.[c] + 1;
      }
  
  }
  //return count.ToString();
  Console.WriteLine(count);
  Console.ReadKey();
  </code></pre>