title: Umbraco get node by ID in Razor
body: <p>I am trying to get a node by it's ID through a Razor script, but I keep getting this error:</p>
  
  <blockquote>
    <p>error CS0118: 'umbraco.MacroEngines.BaseContext.Node' is a 'property'
    but is used like a 'type'</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>@inherits umbraco.MacroEngines.DynamicNodeContext
  @{
  var node = new Node(Parameter.newsnode);
  }
  </code></pre>
  
  <p>I feel like I'm missing something very basic here, just can't seem to figure it out.<br><br>
  Umbraco 4.11.1</p>