This rule checks for methods that are using the literal "" instead of the
String.Empty field. You'll get slighly better performance by using
String.Empty. Note that in some cases, e.g. in a switch/case statement,
you cannot use a field, so "" must be used instead of String.Empty.
See Also:
UseStringEmptyRule Members
Syntax
Remarks
Example
Example
Requirements
Namespace: Gendarme.Rules.Performance
Assembly: Gendarme.Rules.Performance (in Gendarme.Rules.Performance.dll)
Assembly Versions: 2.8.0.0