Check out example codes for "string format comma c#". It will help you in understanding the concepts better.
Code Example 1
String.Format("{0:n}", 1234); // Output: 1,234.00
String.Format("{0:n0}", 9876); // No digits after the decimal point. Output: 9,876
Learn ReactJs, React Native from akashmittal.com