Data Types C#

using System;
using System.Globalization;
public class Example
{
    public static void Main()
    {
        float value = 123456.123456F;
        string specifier;
        CultureInfo culture;
        specifier = "C";
        culture = CultureInfo.CreateSpecificCulture("en-US");
        Console.WriteLine(value.ToString(specifier, culture));
        culture = CultureInfo.CreateSpecificCulture("en-GB");
        Console.WriteLine(value.ToString(specifier, culture));
    }
}
//$123,456.10