Archivi tag: CurrentThread

CultureInfo for any thread

Sometimes I need to set the CurrentThread Culture and the UI Culture, to avoid some problem in date or number conversion. By default I work on the same thread, but not today. With only this code you change the culture … Continua a leggere

Pubblicato in .Net, c# | Contrassegnato , , , , | Lascia un commento

Current Thread while we work on Task and Parallel

When you work with Task and Parallel it’s many usefull understand wich thread are currently running. in Asp.Net in Windows Form in Universal App, Windows Phone 8 (wp), Windows Store app use:

Pubblicato in Store Apps, Universal app, windows phone, wp8.1 | Contrassegnato , , , | Lascia un commento