文件名称: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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org