是否有与 C# 等效的 VB.NET:
public string FirstName { get; set; }
我知道你能做到
Public Property name() As String
Get
Return _name.ToString
End Get
Set(ByVal value As String)
_name = value
End Set
End Property
但我似乎无法在 Visual Basic 速记上搜索答案。