使用WCF将VB代码转换为C#

时间:2018-01-30 11:40:33

标签: c# vb.net wcf

C#中此代码的等效代码是什么?

Private _RequiredDays As Integer?
Public Property RequiredDays As Integer?
    Get
        Return _RequiredDays
    End Get
    Set(value As Integer?)
        _RequiredDays = value
    End Set
End Property

任何人都可以帮助我吗?因为我正在尝试在我的WCF中制作模型。感谢

1 个答案:

答案 0 :(得分:1)

public int? RequiredDays { get; set; }