String StartsWith() issue with Danish text
问题 Can anyone explain this behaviour? var culture = new CultureInfo("da-DK"); Thread.CurrentThread.CurrentCulture = culture; "daab".StartsWith("da"); //false I know that it can be fixed by specifying StringComparison.InvariantCulture . But I'm just confused by the behavior. I also know that "aA" and "AA" are not considered the same in a Danish case-insensitive comparision, see http://msdn.microsoft.com/en-us/library/xk2wykcz.aspx. Which explains this String.Compare("aA", "AA", new CultureInfo(