文件名称:shiyan2.2
-
所属分类:
- 标签属性:
- 上传时间:2013-10-28
-
文件大小:20.24kb
-
已下载: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/
shiyan2.2/bin/
shiyan2.2/bin/Debug/
shiyan2.2/bin/Debug/shiyan2.2.exe
shiyan2.2/bin/Debug/shiyan2.2.pdb
shiyan2.2/bin/Debug/shiyan2.2.vshost.exe
shiyan2.2/bin/Debug/shiyan2.2.vshost.exe.manifest
shiyan2.2/obj/
shiyan2.2/obj/Debug/
shiyan2.2/obj/Debug/shiyan2.2.csproj.FileListAbsolute.txt
shiyan2.2/obj/Debug/shiyan2.2.exe
shiyan2.2/obj/Debug/shiyan2.2.pdb
shiyan2.2/obj/Debug/TempPE/
shiyan2.2/Program.cs
shiyan2.2/Properties/
shiyan2.2/Properties/AssemblyInfo.cs
shiyan2.2/shiyan2.2.csproj
shiyan2.2/bin/
shiyan2.2/bin/Debug/
shiyan2.2/bin/Debug/shiyan2.2.exe
shiyan2.2/bin/Debug/shiyan2.2.pdb
shiyan2.2/bin/Debug/shiyan2.2.vshost.exe
shiyan2.2/bin/Debug/shiyan2.2.vshost.exe.manifest
shiyan2.2/obj/
shiyan2.2/obj/Debug/
shiyan2.2/obj/Debug/shiyan2.2.csproj.FileListAbsolute.txt
shiyan2.2/obj/Debug/shiyan2.2.exe
shiyan2.2/obj/Debug/shiyan2.2.pdb
shiyan2.2/obj/Debug/TempPE/
shiyan2.2/Program.cs
shiyan2.2/Properties/
shiyan2.2/Properties/AssemblyInfo.cs
shiyan2.2/shiyan2.2.csproj
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.