operator >> in C#
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3485528/what-does-the-operator-in-c-sharp-do">What does the &ldquo;&gt;&gt;&rdquo; operator in C# do?</a>  </p>
</blockquote>



<blockquote>
  <p>Also related: <a href="http://stackoverflow.com/q/3059719/385844">Doubling a number - shift left vs. multiplication</a></p>
</blockquote>

<p>This is code in C#.</p>

<p>I just need to know if I'm right.</p>

<p>I'm not sure with using operator <code>&gt;&gt;</code>.</p>

<p>this code:</p>

<pre><code>winHalfWidth = this.ClientSize.Width &gt;&gt; 1; // both is int
</code></pre>

<p>make the same as:</p>

<pre><code>winHalfWidth = this.ClientSize.Width / 2;
</code></pre>

<p>and if I'm right so, this code should do:</p>

<pre><code>quaterWidht = this.ClientSize.Width &gt;&gt; 2;
</code></pre>

<p>should do same as:</p>

<pre><code>quaterWidth = this.ClientSize.Width / 4;
</code></pre>

<p>So 2 questions:</p>

<ol>
<li>Is it right?</li>
<li>Is any difference between using <code>&gt;&gt;</code> and <code>/</code>?
<ul>
<li>When we speak about int values?</li>
<li>When we speak abou float values? (I thing there could be.. but I'am not sure.)</li>
</ul></li>
</ol>

<p>Answers like yes/no would be nice :)</p>

<p>Thanks.</p>
