通用学生信息管理系统C#结业报告

通用学生信息管理系统C#结业报告

ID:42118283

大小:727.76 KB

页数:40页

时间:2019-09-08

通用学生信息管理系统C#结业报告_第1页
通用学生信息管理系统C#结业报告_第2页
通用学生信息管理系统C#结业报告_第3页
通用学生信息管理系统C#结业报告_第4页
通用学生信息管理系统C#结业报告_第5页
资源描述:

《通用学生信息管理系统C#结业报告》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、通用学生信息管理系统C#结业报告院系:计算机科学与工程班级:140402姓名:周琳学号:20141180一、问题提出:1.创建相应的成员变量保存学生基本信息。2.创建相应属性和索引以实现对成员变量访问的封装。3•创建相应的方法以实现对学生基本信息的管理。4.创建相应的方法以实现对学生成绩的管理。5.派生出小学生,屮学生,大学生等子类。二、问题分析:1、添加基类Student,定义私冇成员变量姓名,性别,号,民族,住址,英语,数学,语文等学生的基本信息并创建相应的属性实现对成员变量访问的封装。2、分别定义派生类Pupil,CollegeStudenr,Mi

2、ddleschoolstudent,并使用base关键字调用基类构造函数。3、添加Option类实现对学生信息进行的一•系列操作。4、添加Manager类实现管理用户登陆。三、程序代码:Student.cs:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem

3、e;publicstringStudentType{get{returnstudentType;}set{studentType=value;}}privatestringstudentName;publicstringStudentNameget{returnstudentName;}set{studentName=value;}privatestringstudentSex;publicstringStudentSex{get{returnstudentSex;}set{studentSex=value;}}privatestringstudentN

4、umber;publicstringStudentNumber{get{returnstudentNumber;}set{studentNumber=value;}}privatestringstudentNation;publicstringStudentNation{get{returnstudentNation;}set{studentNation二value;}}privatestringstudentAddress;publicstringStudentAddress{get{returnstudentAddress;}set{studentA

5、ddress=value;}}privatestringenglishScore;publicstringEnglishScore{get{returnenglishScore;}set{englishScore=value;}}privatestringmathScore;publicstringMathScore{get{returnmathScore;}set{mathScore=value;}}privatestringchineseScore;publicstringChineseScoreget{returnchineseScore;}set

6、{chineseScore=value;}publicStudent(stringtype,stringname^stringsex^stringnumber^stringnation,stringaddressestringenglish^stringmath,stringChinese)this•studentType=type;this•studentName=name;this•studentSex=sex;this•studentNumbeznumber;this.studentNation=nation;this.studentAddress

7、=address;this

8、umber);Console.WriteLine(n住址:"+studentAd

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。