double d = double.Parse("1.1");
Console.WriteLine("Value of d: {0}", d);
double d = double.Parse("1,1");
Console.WriteLine("Value of d: {0}", d);
double d = double.Parse("1.1", CultureInfo.InvariantCulture);
double d = double.Parse("1,1", CultureInfo.GetCultureInfo("Ru-ru"));