We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interpolated string concatenation output is different between .NET 5 and .NET 6 preview 7
yes
Running the following code snippet in .NET 5
using System; int a = 0; string b = nameof(a); Console.WriteLine($"Name, " + $"Value {a} ," + $"Name {b} ."); Console.ReadLine();
gives the following output: "Name, Value 0 ,Name a ."
in .NET 6 the output is: "Name, ,0Value .aName".
This is incorrect and shouldn't change
The text was updated successfully, but these errors were encountered:
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Sorry, something went wrong.
#55461 (comment)
Duplicate of #55461
This was fixed in 17.0p4 by PR #55494. Thanks for reporting
No branches or pull requests
Description
Interpolated string concatenation output is different between .NET 5 and .NET 6 preview 7
Configuration
Regression?
yes
Other information
Running the following code snippet in .NET 5
gives the following output: "Name, Value 0 ,Name a ."
in .NET 6 the output is: "Name, ,0Value .aName".
This is incorrect and shouldn't change
The text was updated successfully, but these errors were encountered: