C Sharp (C#) - File IO
What does the
File.ReadAllLines method do in C#?File.ReadAllLines method do in C#?File.ReadAllLines reads a text file and returns each line as an element in a string array.File.ReadAllText returns the whole file as one string, not an array of lines.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions