Search
Setup for Free
C
C#
•
3y ago
phaseshift
✅ String.Format question
Just put variable names in the braces
, and use
$"this string {x}"
$"this string {x}"
style interpolation
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,145
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
$"this string {x}"
$"this string {x}"
Similar Threads
✅ input string is not correct format
C
C# / help
4y ago
❔ Allowing a user to use a custom format in string.format
C
C# / help
3y ago
Parts of string to special json format
C
C# / help
2y ago