C#

C#

Made by DeepSource

Consider using L as a suffix for long rather than l CS-R1027

Bug risk
Major
Autofix

Using l (lowercase L) as a suffix to a numeric value indicates that it should be treated as long. However, in some cases, the lowercase L may look similar to the digit 1. It is therefore recommended that you use L as the suffix to avoid confusion.

Bad practice

var value = 1024l;

Recommended

var value = 1024L;

Reference