文件名称:构造函数举例-C#入门经典ppt
文件大小:4.81MB
文件格式:PPT
更新时间:2024-05-14 20:34:26
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; } }