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.
- All Above
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
Source: MCTS | Asked In: MCTS |
Alert Moderator