as ( ).
as , , , .
int? i = 3;
double? d = (double?)i;
( ) #,
int? i = 3;
double? d = i as double?;
errors with 'Unable to convert type' int? ' double? ' by link conversion, box conversion, unboxing conversion, conversion conversion, or null type conversion "
Sweko source
share