轉換VB到C#,這將是在這個Vb的爲C#轉換的困惑 - directCast和MyBase.Item
<ConfigurationProperty("name", IsKey:=True, IsRequired:=True)> _
Public Property Name() As String
Get
Return DirectCast(MyBase.Item("name"), String)
End Get
Set(ByVal value As String)
MyBase.Item("name") = value
End Set
End Property
試試這個 - http://converter.telerik.com/ –