文件名称:构造函数举例-C#入门经典教程
文件大小:4.81MB
文件格式:PPT
更新时间:2024-05-13 13:36:34
c#
构造函数举例 class Student { long id; char gender; int classID; public Student() : this(0, 'F', 0) { } public Student(long aID, char aGender, int aClassID) { id = aID; gender = aGender; classID = aClassID; } }