Compile time error on addition of two short variable [C#]
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4343624/integer-summing-blues-short-short-problem">Integer summing blues, short += short problem</a>  </p>
</blockquote>



<p>I have summarized my problem into following code snippet.I have two short vaiable and I am adding these two variable into another short variable,but I am getting compile time error.Why is it so?</p>

<pre><code> 1.short x = 1, y = 1;
 2.short z = x + y;   
</code></pre>

<p><strong>Compile time error at line 2</strong>
*<em>EDIT:</em>*</p>

<pre><code>If short+short=int

then why int+int !=long
</code></pre>
