CSharp - What is the output: rectangular array length?

Question

What is the output of the following code?

using System;
class Program
{
        static void Main(string[] args)
        {
           int[,] rectArray = new int[3,4];
           Console.WriteLine(rectArray.Length);
        }
}


Click to view the answer

12

Note

3*4=12