Code: Select all
public static int TestConversions()
{
int intValue = 42;
long longValue = intValue;
short shortValue = (short)intValue;
return (int)(longValue + shortValue);
}
Release configuration.
Code: Select all
public static int TestConversions()
{
int intValue = 42;
long longValue = intValue;
short shortValue = (short)intValue;
return (int)(longValue + shortValue);
}