C Sharp (C#) - File IO
What will happen if the following C# code tries to read a non-existent file?
using System;
using System.IO;
class Program {
static void Main() {
string data = File.ReadAllText("nonexistent.txt");
Console.WriteLine(data);
}
}
