请各位大虾帮我看看。该如何添加。。谢谢

using System; using System.Collections.Generic; using System.Text; namespace BankAccount { class Account { private int _no; //卡号 private string _name; //姓名 private bool _gental; //性别,true表示"男" private decimal _balance; //余额 //Todo 1:添加构造函数,同时确定用户_id、_name、_gental三个字段值 //Todo 2:添加只读属性,用于读取卡号 //Todo 3:添加只读属性,用于读取姓名 //Todo 4:添加属性,用于读取和修改性别 //Todo 5:添加属性,用于读取余额和实现存钱,存钱要求满足逻辑:金额一定要大于0 //Todo 6:添加 方法,用于实现取钱,要求满足逻辑:(1)金额一定要大于0 (2)不能全部取完,卡上至少要余1块钱 } }
