Total .NET Analyzer Rule Documentation |
|
Consider replacing hard-coded literal integers with constants.
Remarks
Consider using a constant or a localized resource instead of a hard-coded literal integer. Using literal integers can make your code hard to read, maintain, and update.
Resolution
Whenever possible, you should replace hard-coded literal integers with constants or localized resources.
See Also
Literals
Integer Literals
Constants