摘要:
一个类class1写的 public delegate int MyDelegate(int a, int b); 声明一个委托类型并命名为MyDelegate,认为它是一个“指针”,它能够指向符合某种规则的所有的方法,返回值为int ,并且参数是两个int类型 public delegate st 阅读全文
摘要:
public virtual void Salary(int a, double b) { Console.WriteLine($"这个是BaseSalary中的方法Salary,计算结果为:{a + a * b / 10}"); } /// virtual虚方法关键字,允许子类重写业务逻辑 pub 阅读全文
摘要:
create table student ( ID int primary key identity(1,1), studentNo varchar(20) not null, name varchar(20) not null, address varchar(20) not null, year 阅读全文
摘要:
--文章表create table Article ( ID int primary key identity(1,1) not null --ID Title varchar(60) not null --标题 )--评论表create table Comment ( ID int primary 阅读全文