Question 1  of   3

What is the output of the following program? class Program { static void Main() { string file = "File.txt"; FileStream stream = File.Open(file, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None); var writer = new StreamWriter(stream); writer.WriteLine("Pa$$word"); writer.Flush(); //... ProcessRead(file).Wait(); } static async Task ProcessRead(string file) { try { using (FileStream stream = File.Open(file, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) { using (var reader = new StreamReader(stream)) { Console.Write(await reader.ReadLineAsync()); } } } catch (Exception ex) { Console.WriteLine($"{ex.GetType().Name}"); } } }

A. Pa$$word
B. IOException
C. [Blank Output]
D. Compiler Error