开发C#Windows窗体应用程序

开发C#Windows窗体应用程序

问题描述:

开发一个C#Windows窗体应用程序,该应用程序从键盘读取学生信息并将其保存到Student类型的对象数组中.您应该定义一个至少具有三个属性的名为student的类:int ID,字符串Name和float GPA.而且您应该有100名学生.
您的程序应包括两种不同的形式,第一种形式:用于信息输入.第二种形式是查询您在程序生命期内输入的信息.

注意:在此作业中,您不必担心用户的错误,没有验证也没有例外.最终用户有责任正确插入他们的数据.

Develop a C# Windows Form Application that reads students information from the keyboard and saves them into an array of objects of type student. You should define a class named student with at least three properties: int ID, string Name, and float GPA. and you should have an array of 100 students.
Your program should include two different forms, First Form: is for information entry. Second form is for Querying the information you have entered during your program life.

Note: In this assignment, you have not to worry about user mistakes, no validations, and no exceptions. End users are responsible to insert their data correctly.

如果您要张贴作业,至少要使其看起来像您尝试做某事.你自己!

我们不做您的作业:这是有原因的.在这里,您可以考虑自己被告知的内容,并尝试理解它.也可以在那里帮助您的导师识别您的弱点,并将更多的注意力放在补救措施上.

自己尝试一下,或者学一下神奇的话:你想要炸薯条吗?"
If you are going to post your homework, at least try to make it look like you have attempted to do something yourself!

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, or learn the Magic Words: "Do you want fries with that?"


就像以前在CP上其他人雄辩地发表的那样:

作业... [ ^ ]
As was so eloquently posted by someone else here at CP previously:

Homework...[^]