Student 类
用于测试的Student类
包含常见的属性和方法示例
Definition
命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public class Student- Inheritance
- Object Student
构造函数
| Student | 构造函数 |
| Student(Int32, String, Int32) | 构造函数 |
| Student(Int32, String, Int32, String, String, Double) | 构造函数 |
属性
方法
| GetStudentInfo | 获取该学生所有资料 |
| IsExcellent | 是否优秀 |
| Study | 学习 |
| TakeExam | 考试 |
| ToString |
输出简单信息
(重写 ObjectToString) |
| UpdateScore | 更新成绩 |
扩展方法
| IsAdult |
是否成年了
(由 StudentExtensions 定义。) |
| PrintInfo |
输出简单信息
(由 StudentExtensions 定义。) |