.NET 7 simple string concatenation benchmarks

Not too much change from .NET 6 string concatenation benchmarks I ran previously. String.Join still is the fastest while String interpolation is the most memory efficient… for the below benchmarks anyhow.

Click on the image for a larger view in a new window.

Leave a Reply

Your email address will not be published. Required fields are marked *