C# set/get shorthand Question
<p>I"m a little confused with this short hand. Does this allow me to acesss myVar and set myVar like so? </p>

<pre><code>object.myVar = 5;
newNum = object.myVar;
</code></pre>

<p>I don't get this. </p>

<pre><code> private int myVar;

 public int MyProperty
 {
  get { return myVar; }
  set { myVar = value; }
 }
</code></pre>
