title: Render Dynamic String as Razor
body: <p>I'm trying to render a string that is stored in my database as if it were from a CSHTML file.  Here is a sample string that I'd like to render:</p>
  
  <pre><code>&lt;footer&gt;
      &lt;div class="content-wrapper"&gt;
          &lt;div class="float-left"&gt;
              &lt;p&gt;&amp;copy; @DateTime.Now.Year - My ASP.NET MVC Application&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/footer&gt;
  </code></pre>
  
  <p>Notice that "@DateTime.Now.Year"?  Well, if this were stored in a database, how would I render this into a view and have that part of it actually render as 2014 (or whatever year it is that you're reading this)?</p>