Namespaces on C# related Questions and Answers

Question 1 : Which of these type parameters is used for generic methods to return and accept any type of object?
1. K
2. N
3. T
4. V
View Answer   Discuss with Members

Question 3 : Which of these methods gives the full URL of an URL object?
1. fullHost()
2. getHost()
3. AbsoluteUri
4. toExternalForm()
View Answer   Discuss with Members

Question 4 : Which of these classes is used to create servers that listen to either local or remote client programs?
1. httpServer
2. ServerSockets
3. MimeHeader
4. HttpResponse
View Answer   Discuss with Members

Question 5 : Choose the exceptions generated by the GetResponseStream() method defined by WebRequest:
1. ProtocolViolationException
2. ObjectDisposedException
3. IOException
4. All of the mentioned
View Answer   Discuss with Members

Question 6 : Which of these classes is used for operating on the request from the client to the server?
1. http
2. httpDecoder
3. httpConnection
4. httpd
View Answer   Discuss with Members

Question 7 : Select the properties related to the network errors generated by WebException:
1. response
2. get
3. set
4. none of the mentioned
View Answer   Discuss with Members

Question 8 : Choose the exceptions generated by the GetReponse() method defined by WebRequest:
1. InvalidOperationException
2. ProtocolViolationException
3. WebException
4. All of the mentioned
View Answer   Discuss with Members

Question 9 : Choose the exceptions generated by the Create() method defined by WebRequest:
1. NotSupportedException
2. UriFormatException
3. System.Security.SecurityException
4. All of the mentioned
View Answer   Discuss with Members

Question 10 : What exception is thrown if the user does not have a proper authorization?
1. URLNotFound
2. URLSourceNotFound
3. System.Security.SecurityException
4. All of the mentioned
View Answer   Discuss with Members


View 1 - 10 of 49 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter