Constant value 'value' cannot be converted to a 'type'
An attempt was made to assign a value to a variable whose type cannot store the value.
The following sample generates CS0031:
namespace x { public class a { public static void Main() { byte i = 512; // CS0031, 512 cannot fit in byte } } }