Skip to main content
Code and think

C# String formatting

I really like string interpolation in C# as it makes the code more readable. When you need to format numbers, there are a few nice features:

https://www.csharp-examples.net/string-format-int/

Reference: Interpolation