Skip to content

Span<T>.CopyTo(Span<T>, int index) #73108

Answered by huoyaoyuan
samuel-lucas6 asked this question in Ideas
Discussion options

You must be logged in to vote

You can just do span1.CopyTo(span2.Slice(index)) or span1.CopyTo[span2[index..]]. No more overload is needed.

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@DaZombieKiller
Comment options

@c-ohle
Comment options

@tannergooding
Comment options

@c-ohle
Comment options

@c-ohle
Comment options

Comment options

You must be logged in to vote
3 replies
@samuel-lucas6
Comment options

@huoyaoyuan
Comment options

@samuel-lucas6
Comment options

Answer selected by danmoseley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
6 participants