Is there a way to tell ReSharper to use the String and Int64 type names when a field or method is used on the type ('static-ally'), but string and long for variable initialization?
Examples:
string name = "@user";
// but
int compResult = String.Compare(a, b, ...);
long x = 0;
// but
long x = Int64.Parse(s);
There is currently no ReSharper option to prefer String over string.
This same question was recently asked on their community board.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With