What is the purpose of the File.ReadAllLines() method in C#?
A. To read all lines of text from a file into a string array
B. To write all lines of text to a file
C. To delete all lines of text from a file
D. To append all lines of text to a file
Answer: Option A
Join The Discussion