Multiple choice

Predict the correct output of the code given below:

using System;
class Program {
 static void Main(string[] args) {
  Byte[] numbers = {
   10,
   20,
   30,
   40
  };
  Console.Write(numbers[1]);
  Console.ReadLine();
 }
}

  1. 10

  2. 20

  3. 30

  4. 0

  5. Compilation error

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

This is the correct output.