Synopsis: | Performance related rules |
Description: |
Name | Checked | Synopsis |
---|---|---|
12@101 | Avoid boxing and unboxing of value types | |
12@102 | Do not use ToLower /ToUpper for case insensitive string comparison | |
12@103 | Consider using Any() to determine whether an IEnumerable is empty | |
12@104 | Test for empty strings using string length or String.IsNullOrEmpty | |
12@105 | Use the evaluation order of && (and operator) and || (or operator) to increase performance | |
12@106 | Use List<> instead of ArrayList especially for value types |