Which of the following create a FileStream for writing when you want to open an existing file or create a new one if it doesn’t exist?

 Posted by Raja on 9/29/2008 | Category: C# Interview questions | Views: 20930
Select from following answers:
  1. Call File.Close with the FileMode option of Open.
  2. Call File.Open to create the FileStream.
  3. Call File.Open with the FileMode option of OpenOrCreate.
  4. Call File.Open with the FileMode option of Open.
  5. All Above

Show Correct Answer


Source: MCTS | Asked In: MCTS | Alert Moderator 

Comments or Responses

Login to post response