Take advantage of String.Create to create strings with no allocation overhead and improve the performance of your .NET 6 applications. String handling is one of the most performance-critical areas in ...
If I were in the mood for strictness I'd probably return an error, but I think returning "Single element array, zero length string" would be most streamlined considering what I usually do with strings ...