title: Why can't I declare a constant using var in C#?
body: <p>this:  </p>
  
  <pre><code>const int a = 5;
  </code></pre>
  
  <p>compiles just fine, whereas</p>
  
  <pre><code>const var a = 5;
  </code></pre>
  
  <p>doesn't... while:</p>
  
  <pre><code>var a = 5;
  </code></pre>
  
  <p>compiles just as well as this:</p>
  
  <pre><code>int a = 5;
  </code></pre>
  
  <p><strong>why?</strong></p>