爲什麼我不能使用AutoProperty
作爲out
參數?AutoProperty as out value
例如(這給了我一個錯誤):
public int HeightValue { get; set; }
//...
private void Parse()
{
int.TryParse(WidthText.Text, out HeightValue);
//Intellisense Error: out argument is not classified as a variable
}