What does the following method specify?

public static WebRequest Create(string requestUriString)

a) Creates a WebRequest object for the URI specified by the string passed by requestUriString
b) The object returned will implement the protocol specified by the prefix of the URI
c) The object will be an instance of the class that inherits WebRequest
d) All of the mentioned

1 thought on “What does the following method specify?”

  1. d
    Explanation: Creates a WebRequest object for the URI specified by the string passed by requestUriString. The object returned will
    implement the protocol specified by the prefix of the URI. Thus, the object will be an instance of a class that inherits WebRequest. A NotSupportedException is thrown if the requested protocol is not available. A UriFormatException is thrown if the URI format is invalid.

Leave a Comment