Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Decimal separator diff
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Globalization; namespace Rextester { public class Program { public static void Main(string[] args) { var number = 0.123; var americanLocale = CultureInfo.GetCultureInfo("en-US"); var frenchLocale = CultureInfo.GetCultureInfo("fr-FR"); Console.WriteLine(number.ToString(americanLocale)); // Uses . Console.WriteLine(number.ToString(frenchLocale)); // Uses , } } }
run
|
edit
|
history
|
help
1
Bg
Converting a string to byte-array without using an encoding (byte-by-byte)
uniqueness
Random name switch
Ternary Operator
HTML Hex to RGB without using System.Drawing C#
test linq select
concrete class with inheritance
Gamez
Fibonacci recursion