除了语法之外,以下之间是否有任何区别:
Button.TextProperty.PropertyName //(Xamarin.Forms.BindableProperty.PropertyName)
和
nameof(myButton.Text)
除了个人偏好之外,是否出于其他任何原因偏好其中一个?
除了语法之外,以下之间是否有任何区别:
Button.TextProperty.PropertyName //(Xamarin.Forms.BindableProperty.PropertyName)
和
nameof(myButton.Text)
除了个人偏好之外,是否出于其他任何原因偏好其中一个?