C# return type of function
<p>What does GetNode return, a copy or a reference to the real value?</p>

<pre><code>public GraphNode GetNode(int idx)
{
    return Nodes[idx];
}
</code></pre>

<p>In other words will this code change the real value or it will change a copy returned from GetNode?</p>

<pre><code>GetNode(someIndex).ExtraInfo = something;
</code></pre>

<p>Thanks</p>
