只是想了解一下 - 我以前从未使用过它。一种文化与 ToUpper()/ToLower() 有何不同?
最佳答案
正如 SLaks 所说,不同的文化对大小写的处理方式不同。
来自 MSDN 的具体示例:
In most Latin alphabets, the character i (Unicode 0069) is the lowercase version of the character I (Unicode 0049). However, the Turkish alphabet has two versions of the character I: one with a dot and one without a dot. In Turkish, the character I (Unicode 0049) is considered the uppercase version of a different character ı (Unicode 0131).
关于c# - 什么是字符串文化,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2508577/