#region properties public string text { Get{ return this.label1.Text; } set { this.label1.Text = value; }} #endregion错误信息:应输入class,delegate,enum,interface或struct还是不行,是上面public string text 这句有问题