locking a property after it's set
<p>I have a class with a property like this:</p>

<pre><code>public class MyClass
{
   private int MyProp { get; set; }
</code></pre>

<p>and several methods that use MyProp. One methods sets it and all other methods read the value. What I'd like to do is once the value is set, make it so that other methods can't change its value.</p>

<p>Thanks for your suggestions.</p>
