C Sharp (C#) - File IO
You want to read a text file and count how many lines contain the word "error" (case insensitive). Which code snippet correctly does this?
File.ReadAllLines returns an array of lines, perfect for line-by-line processing.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions