Question 1  of   15

What is the output of the following program? class Program { static void Main() { var a = new int[] {1, 2}; var b = new int[] {1, 2, 3}; Resize(a, ref b); Console.Write($"{a.Length}, {b.Length}"); } static void Resize( int[] a, ref int[] b) { a = new int[] { }; b = new int[a.Length]; } }

A. [Compiler Error]
B. 0, 3
C. 2, 0
D. 2, 3
E. 0, 2