complete novice at C# reporting in
Lets say I have the following code
HttpResponseMessage response = ...
How would I check if the status code for response is a 403?
The property StatusCode is an object - as opposed to an integer, So I am not quite sure what to do.
StatusCodeproperty is anenum. With defined values: learn.microsoft.com/en-us/dotnet/api/system.net.httpstatuscode