【发布时间】:2015-01-21 00:50:57
【问题描述】:
为什么我不能使用AutoProperty 作为out 参数?
例如(这给了我一个错误):
public int HeightValue { get; set; }
//...
private void Parse()
{
int.TryParse(WidthText.Text, out HeightValue);
//Intellisense Error: out argument is not classified as a variable
}
【问题讨论】: