L
as a suffix for long
rather than l
CS-R1027Using 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.
var value = 1024l;
var value = 1024L;