Data Types C#

using System;
using System.Globalization;
public class Example
{
   public static void Main()
   {
        double dblValue = -12345.6789;
        Console.WriteLine(dblValue.ToString("N", CultureInfo.InvariantCulture));
        Console.WriteLine(dblValue.ToString("N1", CultureInfo.CreateSpecificCulture("sv-SE")));
        int intValue = 123456789;
        Console.WriteLine(intValue.ToString("N1", CultureInfo.InvariantCulture));
   }
}
/*
-12,345.68
-12 345,7
123,456,789.0
*/