Total .NET Analyzer Rule Documentation  

LiteralCharacter Rule

Consider replacing hard-coded literal chars with constants.

Remarks

Consider using a constant or a localized resource instead of a hard-coded literal char. Using literal chars can make your code hard to read, maintain, and update.

Resolution

Whenever possible, you should replace hard-coded literal chars with constants or localized resources.

See Also

Literals

Character Literals

Constants