Beginner C#
Q23 / 100

What is an array in C#?

Correct! Well done.

Incorrect.

The correct answer is B) A fixed-size collection of elements of the same type

B

Correct Answer

A fixed-size collection of elements of the same type

Explanation

int[] arr = new int[5]; declares an array of 5 integers. Arrays are fixed-size; use List<T> for dynamic sizing.

Progress
23/100