Skip to content

Span<T> constructor #51824

Answered by EgorBo
QuantifEye asked this question in Ideas
Discussion options

You must be logged in to vote

See #12221

nint/nuint didn't exists when Span<> was designed. Unfortunately, changing int to nint now is a breaking change, and introducing a new Span-like type with nint means we'll have to add hundreds (or likely thousands) of new overloads across the BCL.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by QuantifEye
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants