问题描述
开发一个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.
推荐答案
这篇关于开发C#Windows窗体应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!