string.Format() function and examples

15. June 2016 Back-end, C# 7
In C#, ‘string’ is a common type, and ‘.Format’ is one of its functions, the following shows that different words inside ‘.Format()’ present different purpose, and the result will be shown in different types when it is used in upper and lower case.     C     c Currency     D     d Decimal ...