Possible Duplicate:
The type of the conditional expression can not be determined?
I currently wrote this statement:
byte? Col_8 = (Rad_8.SelectedValue == null) ? null : byte.Parse(Rad_8.SelectedValue);
but it has this Error:
Type of conditional expression cannot be determined because there is no implicit conversion between
'<null>'
and'byte'
why I can use null after ?
? what if equivalent of above code without if
statement?