title: Which is better - (int)value or value as int?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/132445/direct-casting-vs-as-operator">Direct casting vs &#39;as&#39; operator?</a>  </p>
  </blockquote>
  
  
  
  <p>Can someone explain the difference to me and which one is better to use? I know in some situations I can only use one or the other.</p>
  
  <p><code>(int)value</code></p>
  
  <p><code>value as int</code></p>