如何在方法中设置可选参数

时间:2019-12-03 11:41:23

标签: c# typescript

我想将一个对象设置为可选参数;

public async hearted(p, typeID, refID, [Optional] stud: Student) {  return ;}

如何设置[Optional] stud: Student

0 个答案:

没有答案