Question 1  of   20

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. 2, 3
B. 0, 3
C. [Compiler Error]
D. 0, 2
E. 2, 0