忽略大小写的字符串包含测试
快速记录一下:
System.Threading.Thread.CurrentThread.CurrentCulture.CompareInfo.IndexOf(stringA, stringB, System.Globalization.CompareOptions.IgnoreCase) >= 0
理解的越多,需要记忆的就越少
快速记录一下:
System.Threading.Thread.CurrentThread.CurrentCulture.CompareInfo.IndexOf(stringA, stringB, System.Globalization.CompareOptions.IgnoreCase) >= 0