Question: C# Program - create a class (name: Classes) that represents the college classes - the Classes class should include Name (example: CS 170), Title (example:
C# Program
- create a class (name: Classes) that represents the college classes
- the Classes class should include Name (example: CS 170), Title (example: Intro to Java), Credits, and Description
- you should use the methods ToString and CompareTo
- in another file, create List
- print a sorted list
- start the list with Name (using default sort) and then, Credits (using IComparer object)
- make sure the Classes class implement ICreditable (this requires all implemented classes to have a property for Credits)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
