【直接上代码】

可以通过Lamda表达式的形式定义一个成员



    public class Model
    {
        private int _des;
        public int test { get => _des; set => _des = value; }
    }