Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
An instance of which of the following must be created to read files across a network?
on 2/26/2011 | Category:
C# Interview questions
| Views: 6151 |
Select from following answers:
Answer 1 is incorrect. The System.Console class handles input for simple console applications. It includes three properties: Console.In, Console.Out, and Console.Error.
Answer 2 is incorrect. A SocketException is thrown by the Socket and Dns classes when an error occurs with the network.
Answer 3 is incorrect. You use an instance of a StreamWriter object to send information across a network stream.
Answer 4 is correct. You use the TCPListener.Start method to begin listening for incoming connection requests. When a client requests a connection at the port you specify, you use the Accept method to create a socket.
Show Correct Answer
Many Interviews |
< Previous :
In what format does C# expect data to be streamed? ...
Next > :
If a^2+b^2=117 and ab=54 then find the value of a ...
Comments or Responses
Login to post response
More Interview Questions by Naimishforu
What are the advantages of integrating ADO.NET with XML? Options: ...
ADO.NET uses a disconnected architecture, where users work on the data ...
Which of the following are forms of state information? a. Applicat ...
A visitor is buying groceries on an online shopping web site. Which ...
What is the name used to describe the sending of groups of events capt ...
What is the difference between User Settings and Application Settings ...
Is it possible for a control to define a handler for an event, that th ...
What is the preferred model for event handling in C#?
Latest Interview Questions
If a^2+b^2=117 and ab=54 then find the value of a+b/a-b.
Difference between x:Key and x:Name
why can you prove that string is immutable datatype while StringBuilde ...
What is Style Inheritance?
How can we display WindowListing in .NET?
How can we display the contents of an enum in a ComBoBox?
(36785)^2350 +(96387)^350 What is the Unit Digit in the above mentio ...
What is Application Domain?