1 Star 0 Fork 50

陌./C_sharp面向对象笔记

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Program.cs 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
刘涛 提交于 3年前 . 笔记
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
//cxy gz1 = new cxy();
//decimal d1 = gz1.salay();
//gl gz2 = new gl();
//decimal d2 = gz2.salay();
//ms gz3 = new ms();
//decimal d3 = gz3.salay();
//qjg gz4 = new qjg();
//decimal d4= gz4.salay();
//Console.WriteLine("程序员工资为{0},经理工资为{1},秘书工资为{2},清洁工工资为{3}",d1,d2,d3,d4);
//Circle mj1 = new Circle(3);
//double m1 = mj1.GetArea();
//Square mj2 = new Square(5);
//double m2 = mj2.GetArea();
//Console.WriteLine("圆的面积为{0},正方形的面积为{1}",m1,m2);
jia j1 = new jia();
jian j2 = new jian();
c j3 = new c();
chu j4 = new chu();
Console.WriteLine("加法运算为{0},减法运算为{1},乘法运算为{2},除法运算为{3}",j1.op(123,321),j2.op(123,321),j3.op(123,321),j4.op(123,321));
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chen-li-xing/c-sharp-object-oriented-notes.git
git@gitee.com:chen-li-xing/c-sharp-object-oriented-notes.git
chen-li-xing
c-sharp-object-oriented-notes
C_sharp面向对象笔记
master

搜索帮助