Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C# Create the student class with the following features: a . A non - static string list called courses b . A non -
In C#
Create the student class with the following features:
a A nonstatic string list called courses
b A non static sting called name
c A default constructor which sets name to your name and adds IS to courses
d A one parameter constructor with an int parameter. Th condtructor allows the user to enter in as many courses as the integer parameter. Add each item entered to the courses list
e a non static method called studentDetails which displays the name and all the courses of the calling student.
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