Culture settings for a console application.
Posted on 2007-03-24
I have a console application which runs on end-users pcs.
The problem that I am having is that I need the program to execute with certain "Culture" settings regardless of
how the local PC is configured.
Example. When the program generates a Decimal number, the decimal seperator might be a coma instead of a period. The date might be generated in DD-MM-YY instead of MM-DD-YY.
These values get sent to a remote server via XML and if they are not formated properly, things just don't work.
I thought I could configure something in app.config but I can't find anything.