Is there a noticable performance difference between using string interpolation:
myString += $\"{x:x2}\";
vs String.Format()?
The question was about performance, however the title just says "vs", so I feel like have to add a few more points, some of them are opinionated though.
Localization
string.Format. However, there is tooling for that (e.g. ReSharper).Maintainability (my opinion)
string.Format is far more readable, as it focuses on the sentence what I'd like to phrase, for example when constructing a nice and meaningful error message. Using the {N} placeholders give me more flexibility and it's easier to modify it later.string.Format is much less prone to this.So based on these I decided to stick with string.Format in most of my code. However, I've prepared an extension method to have a more fluent way of coding which I like much more. The extension's implementaiton is a one-liner, and it looks simply like this in use.
var myErrorMessage = "Value must be less than {0:0.00} for field {1}".FormatWith(maximum, fieldName);
Interpolation is a great feature, don't get me wrong. But IMO it shines the best in those languages which miss the string.Format-like feature, for example JavaScript.