See Also: CompareWithEmptyStringEfficientlyRule Members
Example
public void SimpleMethod (string myString)
{
if (myString.Equals (String.Empty)) {
}
}
Example
public void SimpleMethod (string myString)
{
if (myString.Length == 0) {
}
}