Variable property
<p>Is this both the same:</p>

<pre><code>private int x;
public int X
{
    get { return x; }
    set { x = value; }
}
</code></pre>

<p>and</p>

<pre><code>public int X
{
    get { return x; }
    set { x = value; }
}
</code></pre>

<p>I mean is it enough to use the second case or there are special cases I should use the first case?</p>

<p>because I sometimes see codes with first case and sometimes with second case, so i have confused</p>
