Q36
In C#, which method is used to read all lines from a file and return them as an array of strings?
A.
File.ReadAllText()
B.
File.ReadAllBytes()
C.
File.ReadAllLines()
AnswerD.
File.ReadLines()
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board