Learn to give context to numeric data like currency percentages and numbers with decimals.
Microsoft Learn
Updated May 29, 2026
What you'll learn
Use character escape sequences to add tabs, new lines, and Unicode characters to our strings
Create verbatim string literals, and escape common characters like backslash and double-quotes
Merge templates with variables using composite formatting and string interpolation
Include various format specifiers for percentages, currency, and numbers
Course DescriptionUse C# to format strings with white space, special characters, padding, and alignment. Give context to numeric data like currency, percentages, and numbers with decimals.