New answers tagged

1

Even if you never intend to run on another system or in another culture, once that fact changes, and you may be surprised how often that happens, stating the invariant culture in this case marks your intent, which will help future maintainers of your code, whom might be yourself. In other words; if being implicit doesn't properly convey your intent, be ...


1

I would say yes. The problem is even if the people are all in germany that doesn't nesacerally mean they will be running german versions of windows. People immigrate and sometimes bring their computers with them, people run english versions of windows because other software is broken on german versions of windows. As you say this is not too much of an ...


4

Since the output will be exactly the same, this is a pretty subjective choice. If you know the application only ever will run in one specific culture, then I would say leave it out for simplicity. But if the application might be ported to multiple cultures, I would say leave it in. Even if you know all cultures you port to all have the same integer ...



Top 50 recent answers are included