为什么ReSharper9在提到一个类时建议使用string而不是String,比如String.IsNullOrEmpty()或String.Format(),而ReSharper8没有呢?
string
String
String.IsNullOrEmpty()
String.Format()
基于一篇SO帖子,它不应该。https://stackoverflow.com/a/7077/3410616
发布于 2016-01-03 22:37:47
这似乎是最新的趋势,也建议在Roslyn下:
https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md
https://github.com/dotnet/corefx/issues/391
https://stackoverflow.com/questions/33254646
相似问题