Question
Visual Studio C# 3 parts: Part #1: By hand, create the Student class Part #2: Using Visual Studio, build the Student class. Part #3: Create
Visual Studio C#
3 parts:
Part #1: By hand, create the Student class
Part #2: Using Visual Studio, build the Student class.
Part #3: Create the GUI to input and Display the Students data
Part #1 (Create a Student Class): Do Part #1 as a Hand-Written exercise. Do not use the Visual Studio tool.
Create the structure for a STUDENT class. Build a Class Diagram for this Student class. This class should have 6 Properties: id, name, address, phone, major and gpa. Your class should contain all of the set and get methods necessary to access these properties. Also include any other behaviors that you deem necessary for this Student class.
Next: Write the Pseudo Code for this Student class. Make your pseudo code as close to C# as possible.
After creating the class, write the code that would be needed to Instantiate one Student object and fill this object up with some data.
Part #2 Using Visual Studio, create a NEW Project, and build the Student class. After you start a NEW Project, go to the Menu and select project. Under project, select Add class. Then start typing in your code for a Student class. Properties: Name, Address, Phone, Email, Major and GPA. Behaviors: set and get methods, a Display() method which outputs all student data to the Output window using Console.WriteLine().
Part #3 - Create the GUI to input the Students Data. You we need 6 labels and 6 textboxes, one for each property. Also include a Fill button and a Display button. When the user clicks on Fill, the data from the textboxes will be stored in a Student object. When the user clicks on Display, all the Student data will be displayed to the output window. Declare your student object as a global variable.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started