如果在属性的setter中有这个:
decimal? temp = value as decimal?;
value ="90"
但演员表演后,临时为空 ......
做这个演员的正确方法是什么?
.net c# casting nullable
.net ×1
c# ×1
casting ×1
nullable ×1