經安全檢測,此網站為安全網站,請放心前往原始網址!

c# - Case insensitive 'Contains(string)' - Stack Overflow

You could always just up or downcase the strings first. string title = "string": title.ToUpper().Contains("STRING") // returns true Oops, just saw that last bit. A case insensitive compare would *probably* do the same anyway, and if performance is not an

stackoverflow.com

網址安全性掃描由 google 提供