Question: IN C# PLEASE Write a program that uses a struct. Create a GUI of your design that includes a name, studentID and major. Define a

IN C# PLEASE

Write a program that uses a struct. Create a GUI of your design that includes a name, studentID and major.

  • Define a structure Student with a name, studentID and major
  • Write a method displayStudent that
    • Accepts a parameter of type Student
    • Displays the name, studentID and major (you choose how, could TextBox, MessageBox, etc..)
  • Make a button CreateStudent "Create Student' that
    • Takes the user input and makes a new student of type Student
    • Calls a method displayStudent that you pass the new student as an argument
  • Add Exit button
  • Add comments

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!