TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Category: Performance

Synopsis:Performance related rules


Description:

Coding Rules

NameCheckedSynopsis
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