Data Types C#

using System;
using System.Globalization;
public class Example
{
   public static void Main()
   {
        double value = 12345.6789;
        Console.WriteLine(value.ToString("C", CultureInfo.CurrentCulture));
        
        Console.WriteLine(value.ToString("C3", CultureInfo.CurrentCulture));
        
        Console.WriteLine(value.ToString("C3", CultureInfo.CreateSpecificCulture("da-DK")));
   }
}
/*
$12,345.68
$12,345.679
kr. 12.345,679
*/