public virtual string SplitPlateType { get { if (SplitPlateType == null) { return "默认值"; } else { return SplitPlateType; } } set { SplitPlateType = value; } }
c# get,set设置默认值
猜你喜欢
转载自www.cnblogs.com/lhlong/p/9459722.html
今日推荐
周排行