title: How to convert TryCast in c#?
body: <p>How to convert following vb code in to c#?</p>
  
  <pre><code>Dim request As HttpWebRequest = TryCast(WebRequest.Create(address), HttpWebRequest)
  </code></pre>
  
  <p>I tried it using <code>AS</code> operator in c# but it is not working.</p>