title: C# how create WebException with Response status code
body: <p>I make some fake class, that should have same behavior as original one. 
  Original class sometimes throws WebExceptions (with <code>StatusCode</code> in response from server).</p>
  
  <p>I want repeat this behavior without any connection.
  So, how can i create <code>new WebException(..., ..., ..., ...)</code> with needed <code>StatusCode</code></p>