title: Constant value properties
body: <p>Will non-virtual properties to constant values be evaluated in compile time? (Like the constants themselves)</p>
  
  <p>Example:</p>
  
  <pre><code>class Clazz
  {
      const int SPEED = 5;
  
      public int Speed 
      {
      get { return SPEED; }
      }
  }
  </code></pre>
  
  <p>I know that any call to the constant <code>SPEED</code> will be evaluated once at compile time, but if I access the <code>Clazz.Speed</code> <em>property</em> from anywhere in my program, will that also be evaluated at <strong>compile time</strong>? </p>
  
  <p><strong>Edit:</strong> To evlove the question a little bit, will the next two examples be inlined by the <strong>Compiler</strong> (and not the JIT)? [ie. evaluated during compile time] :</p>
  
  <pre><code>// a static / non-static method that returns a constant value
  (static) int GetConstant() { return 42; }
  
  // a static / non-static property that returns a constant value
  (static) int ConstProperty { get { return 42; } }
  </code></pre>