I execute code in Tasks in order to generate excel files. But cells format are still in en-US format. Do Tasks get the CurrentCulture parameter of the Current Thread ?
Here some code :
Parallel.ForEach(_blablalist, blabla =>
{
Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentCulture);
Console.WriteLine(System.Threading.Thread.CurrentThread.CurrentUICulture);
Dowork(blabla);
}
Output :
fr-FR
fr-FR
This is what I want but the excel keep to be in en-US format. Maybe Tasks have others parameters :/