Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
How do you not force changes in a StreamWriter to be sent to the stream it is writing to?
on 9/29/2008 | Category:
C# Interview questions
| Views: 15792
Select from following answers:
Close the StreamWriter
Call the Flush method of the StreamWriter
Set the AutoFlush property of the StreamWriter to true.
Close the stream.
Closing the stream does not cause the data to be flushed, and subsequent use of the StreamWriter (including StreamWriter.Close) will cause an exception.
Show Correct Answer
< Previous :
Which of the following create a FileStream for wri ...
Next > :
Which methods of the FileStream class doesn't affe ...
Comments or Responses
Login to post response
More Interview Questions by Raja
Which methods of the FileStream class doesn't affect the Position prop ...
Which of the following are types of changes that can be detected by th ...
Which are NOT acceptable ways to open a file for writing?
With strict conversions enabled, which of the following would allow an ...
If there is no valid conversion between two types, what should you do ...
Structures inherit ToString from System.Object. Why would someone over ...
Why should boxing be avoided?
You are creating a generic class, and you need to dispose of the gener ...
Latest Interview Questions
Can you give an example of what might be best suited to place in the A ...
What does the "EnableViewState" property do? Why would I wan ...
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe i ...
Difference between DropDownList.Items.Add and DropDownList.Items.Inser ...
Difference between classes and structures?
What is the purpose of connection pooling in ADO.NET?
What’s the difference between // comments, /* */ comments and /// comm ...
what is the diff between a HAVING CLAUSE and a WHERE CLAUSE?