c# get,set设置默认值
时间:2018-08-11 15:15:48
收藏:0
阅读:635
public virtual string SplitPlateType
{
get
{
if (SplitPlateType == null)
{
return "默认值";
}
else
{
return SplitPlateType;
}
}
set { SplitPlateType = value; }
}
原文:https://www.cnblogs.com/lhlong/p/9459722.html
评论(0)