Console.Write((int)response.StatusCode);
In this link you can find the codes: https://msdn.microsoft.com/en-us/library/system.net.httpstatuscode(v=vs.110).aspx
Console.Write((int)response.StatusCode);
In this link you can find the codes: https://msdn.microsoft.com/en-us/library/system.net.httpstatuscode(v=vs.110).aspx