1.

Which of these data members of HttpResponse class is used to store the response from a http server?(a) status(b) address(c) statusResponse(d) statusCodeThis question was addressed to me in an interview for internship.My query is from UrI Class in portion Namespaces, Preprocessors and Networking of C#

Answer» RIGHT answer is (d) statusCode

Explanation: When we SEND a REQUEST to HTTP server it responds with a status CODE. This status code is stored in statusCode and the textual equivalent is stored in reasonPhrase.


Discussion

No Comment Found

Related InterviewSolutions