We have a system that runs in IIS.
The system should always run using the same "culture", but we cannot rely on the server settings being set correct.
One way to do it is to specify the culture everytime we do a ToString.
However, we were wondering, is it possible to set the culture on a thread at the begining of a method and rely on all the code in that method being run on the same thread?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…