API
HttpResponseMessage.IsSuccessStatusCode
Indicates an HTTP status in the 200–299 range.
Formal Syntax & Structure
csharp syntaxcsharp
response.IsSuccessStatusCodeWorking Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.response.IsSuccessStatusCode