using
System;using
System.Collections.Generic;using
System.Text; class Program{
static void Main(){
int x; long y = 10; Console.WriteLine("cast\n----"); // cast consistentex = (
int)y; Console.WriteLine("Consistente int = x = {0} \u2192 long y = {1}", x , y); // cast inconsistemntey = 2147483648;
x = (
int)y; Console.WriteLine("Inconsistente int = x {0} \u2192 long y = {1}", x , y);}
}