没有合适的资源?快使用搜索试试~ 我知道了~
Operation opt = OperatorFactory.CreateOperator(this.cboOperator.Text, double.Parse(this.txtNum1.Text), double.Parse(this.txtNum2.Text));//多态1 this.txtResult.Text = opt.DoOperate().ToString(); using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 多态实现计算器 { class operationFo { public static Operation CreateOperator(string type,int a,int b)//多态1 { Operation opt=null;
资源推荐
资源评论
资源评论
u012088400
- 粉丝: 0
- 资源: 95
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功