Explicit parameter naming is optional on mandatory parameters, so both forms are “correct,” the question is which do you like better? Like vcsjones said, Resharper is just giving you some refactoring options to suit your preferences.
More Related Contents:
- Encrypt and decrypt a string in C#? [closed]
- Virtual member call in a constructor
- Using AES encryption in C#
- What is the difference between a regular string and a verbatim string?
- How can you use optional parameters in C#?
- How to read a PEM RSA private key from .NET
- Invert “if” statement to reduce nesting
- Handling warning for possible multiple enumeration of IEnumerable
- Padding is invalid and cannot be removed?
- C# Export Private/Public RSA key from RSACryptoServiceProvider to PEM string
- C# 4.0, optional parameters and params do not work together
- Why use the C# class System.Random at all instead of System.Security.Cryptography.RandomNumberGenerator?
- How do I handle null or optional DLL struct parameters
- Visual Studio displaying errors even if projects build
- Encrypt cookies in ASP.NET
- C# 4.0: Can I use a TimeSpan as an optional parameter with a default value?
- ReSharper formatting: align equal operands
- Can I have an optional parameter for an ASP.NET SOAP web service
- Why do I need to use the Rfc2898DeriveBytes class (in .NET) instead of directly using the password as a key or IV?
- ‘Malformed Reference Element’ when adding a reference based on an Id attribute with SignedXml class
- Check inside method whether some optional argument was passed
- Calculate primes p and q from private exponent (d), public exponent (e) and the modulus (n)
- Compare password hashes between C# and ColdFusion (CFMX_COMPAT)
- CryptographicException “Key not valid for use in specified state.” while trying to export RSAParameters of a X509 private key
- ReSharper – Possible Null Assignment when using Microsoft.Contracts
- SHA1 hashing in SQLite: how?
- Import a Public key from somewhere else to CngKey?
- ReSharper conventions for names of event handlers
- What are some alternatives to ReSharper? [closed]
- Resharper: vars