Intermediate C#
Q55 / 100

What is the Span<T> type in C#?

Correct! Well done.

Incorrect.

The correct answer is B) A stack-only ref struct providing a view over a contiguous memory region without allocation

B

Correct Answer

A stack-only ref struct providing a view over a contiguous memory region without allocation

Explanation

Span<T> slices arrays, strings, or stack memory with zero allocation, enabling high-performance parsing and processing without copying.

Progress
55/100