Support + with ReadOnlySpan<char> #8162
Unanswered
stephentoub
asked this question in
Language Ideas
Replies: 2 comments 5 replies
-
Is this not possible in the BCL? "Just" add an operator overload. Or is |
Beta Was this translation helpful? Give feedback.
4 replies
-
With interpolation now, is I'm not a big fan of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Now that the C# language will have first-class knowledge of spans, it'd be great if string concatenation (
+
) could supportReadOnlySpan<char>
, e.g.would lower to the equivalent of:
Beta Was this translation helpful? Give feedback.
All reactions