文件名称:shiyan2.2
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-10-28
- 文件大小:
- 20kb
- 下载次数:
- 0次
- 提 供 者:
- 谁***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个控制台应用程序,程序中有两个类定义,一个是创建程序时系统自动创建的类Class1,一个是用户自定义的Student类,要求该类包含私有字段:学号(字符串)、姓名(字符串)和性别(字符),具有三个属性:学号(读写)、姓名(只读)、性别(读写),具有有参构造方法、具有同时显示学生个人信息的方法。在Class1类的Main方法中完成以下功能:
(1)从键盘上输入一个学生的个人信息(学号、姓名、性别)。
(2)修改该学生的学号和性别。 -Write a console application, the program has two class definitions, one is created automatically when you create a program of class Class1, one is a user-defined Student class, requiring class contains private fields: Student ID (string), Name (string) and gender (character), has three attributes: Student ID (read-write), name (read only), gender (read-write), with a parameter constructor method, with simultaneous display students' personal information. In the Main method of the Class1 class to complete the following functions: (a) from the keyboard to enter a student' s personal information (student number, name, sex). (2) modify the student' s school number and gender.
(1)从键盘上输入一个学生的个人信息(学号、姓名、性别)。
(2)修改该学生的学号和性别。 -Write a console application, the program has two class definitions, one is created automatically when you create a program of class Class1, one is a user-defined Student class, requiring class contains private fields: Student ID (string), Name (string) and gender (character), has three attributes: Student ID (read-write), name (read only), gender (read-write), with a parameter constructor method, with simultaneous display students' personal information. In the Main method of the Class1 class to complete the following functions: (a) from the keyboard to enter a student' s personal information (student number, name, sex). (2) modify the student' s school number and gender.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shiyan2.2
.........\bin
.........\...\Debug
.........\...\.....\shiyan2.2.exe
.........\...\.....\shiyan2.2.pdb
.........\...\.....\shiyan2.2.vshost.exe
.........\...\.....\shiyan2.2.vshost.exe.manifest
.........\obj
.........\...\Debug
.........\...\.....\shiyan2.2.csproj.FileListAbsolute.txt
.........\...\.....\shiyan2.2.exe
.........\...\.....\shiyan2.2.pdb
.........\...\.....\TempPE
.........\Program.cs
.........\Properties
.........\..........\AssemblyInfo.cs
.........\shiyan2.2.csproj