Multiple Choice
Which of the following opens the employee.txt file for output,creates a StreamWriter object,and assigns it to the outFile variable?
A) outFile = File.CreateText("F:\employee.txt")
B) outFile = IO.File.CreateText("F:\employee.txt")
C) outFile = File.CreateText("F:\")
D) outFile = IO.File.Create("F:\employee.txt")
Correct Answer:

Verified
Correct Answer:
Verified
Q45: You cannot include an array in a
Q46: Write the statement that would remove the
Q47: In Visual Basic,you use a(n)_ to read
Q48: An application contains the Structure statement
Q49: Write a Structure statement that defines a
Q51: Write an If clause that determines whether
Q52: Which of the following statements will read
Q53: Write the statement that would remove the
Q54: Write the code to declare a variable
Q55: Which of the following statements can be