rbwhitaker / CSharpPlayersGuideEarlyAccess

A place to track issues with the C# Player's Guide for patches and future editions
19 stars 0 forks source link

Pattern matching `Span<char>` and `ReadOnlySpan<char>` with string literals #652

Closed rbwhitaker closed 1 year ago

rbwhitaker commented 2 years ago

I don't think this really demands discussion in the book, since Span<T> and ROSpan<T> are both not really covered (though at least Span<T> is mentioned). This is a nice addition, but probably doesn't need a place for it in the book.

rbwhitaker commented 1 year ago

Other than possibly doing a blog post or YouTube video on C# 11 features, I don't intend to cover this at all. I think the only time it might come back up would be if I were to ever decide to specifically cover Span and ReadOnlySpan in depth. I'm not doing that for 6th Edition, though it could be reconsidered for future editions.