title: System.Net HttpStatusCode class does not have code 422
body: <p>Is there a way to handle http status code 422 gracefully. I am looking for the best practice here. I know that HttpStatusCode is an enum so what i tried is this, </p>
  
  <pre><code>HttpStatusCode Unprocessable = (HttpStatusCode)422;
  if (Response == (HttpStatusCode)422)
  </code></pre>
  
  <p>but does not allow me to compare it. Am i doing something wrong here? </p>
  
  <p>Whats the best possible way to add this status code at runtime. </p>