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 with 6 Classes objects while using the object initializer method for each one

- 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

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!