C# “anyString”.Contains('\0', StringComparison.InvariantCulture) returns true in .NET5 but false in older versions

前端 未结 0 487
傲寒
傲寒 2021-01-05 15:10

I encountered an incompatible problem while I was trying to upgrade my projects from .NET core 3.1 to the latest .NET 5.

My original code has a validation logic to ch

相关标签:
回答
  • 消灭零回复
提交回复
热议问题