Const methods in C#
<p>In C++, you can define a constant method like so:</p>

<pre><code>int func_that_does_not_modify_this(int arg) const {}
</code></pre>

<p>Placing <code>const</code> at the end of the function prevents you from accidentally modifying any of the internal properties, and lets the caller know that this function won't modify the object.</p>

<p>Is there a concept like this in C#?</p>
