C Sharp (C#) - File IO
What will the following code output if the file "log.txt" does not exist?
string content = File.ReadAllText("log.txt");
Console.WriteLine(content);string content = File.ReadAllText("log.txt");
Console.WriteLine(content);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions