Skip to content

Instantly share code, notes, and snippets.

@reedling78
Created March 19, 2015 16:00
Show Gist options
  • Save reedling78/0b52537fb206868e1843 to your computer and use it in GitHub Desktop.
Save reedling78/0b52537fb206868e1843 to your computer and use it in GitHub Desktop.
C# Thousands Separator
using System;
public class Program
{
public static void Main()
{
var number = 149872389041;
Console.WriteLine(number.ToString("#,0"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment