.Net Culture Insensitive Comparisons - Example of when this is needed

Posted by Damien on Stack Overflow See other posts from Stack Overflow or by Damien
Published on 2010-06-06T14:45:56Z Indexed on 2010/06/06 14:52 UTC
Read the original article Hit count: 372

Filed under:
|

I am revising for the MCTS example and am on a small section regarding Culture-Insensitive comparisons. I get the principle, you don't two items which are the same (i.e dates) but are displayed differently and hence are pragmatically marked as different.

However call me stupid but I am finding it hard to see where I can use it is practice, for example why would you have two different date times, in the same code, in which they are different cultures? The only way to do so would be if you manually override the one of the datatypes cultures and why would you do that?

Any example of a real-world application of culturally insensitive comparisons?

Cheers

© Stack Overflow or respective owner

Related posts about cultureinfo

Related posts about mcts