Solved

Which of the Following Opens the Employee

Question 50

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions