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

Rule:  10@403

This rule is Obsolete
Synopsis:Do not cast types where a loss of precision is possible
Severity Level:1
Category:Data types


For example, do not cast a long (64-bit) to an int (32-bit), unless you can guarantee that the value of the long is small enough to fit in the int.