-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
dotnet-csharp/svchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]lang-reference/subsvc
Description
Per comments in the PR, adding this as a follow-up to #29785, which was merged to fix #29440.
While we've improved the string interpolation example, there were follow-up suggestions from @gewarren and @BillWagner which I'm capturing here.
On https://github.com/dotnet/docs/blob/main/docs/csharp/language-reference/tokens/interpolated.md:
- Utilize something more complex than Hello World to have a reason for there not to be one interpolated string.
- Perhaps include the preferred choice of single string interpolation to show an alternative
- Language update to:
To combine multiple interpolated strings, add the
$
special character to each string literal.
[Edited to add doc details]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: d0665571-35b7-0841-5719-b69456b35cfb
- Version Independent ID: 0410420b-3b12-6d96-40cf-56f22ac19a1d
- Content: $ - string interpolation - C# reference
- Content Source: docs/csharp/language-reference/tokens/interpolated.md
- Product: dotnet-csharp
- Technology: csharp-language-reference
- GitHub Login: @pkulikov
- Microsoft Alias: wiwagn
Metadata
Metadata
Assignees
Labels
dotnet-csharp/svchelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]lang-reference/subsvc