1

为什么 Resharper 9 建议在引用类时使用 not , like or ,string而Resharper 8 没有?StringString.IsNullOrEmpty()String.Format()

根据 SO 帖子,它不应该。 https://stackoverflow.com/a/7077/3410616

4

1 回答 1

2

似乎是最新趋势,并且在 Roslyn 下也建议:

https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md

https://github.com/dotnet/corefx/issues/391

于 2016-01-03T14:37:47.293 回答