Question: Provide implementation for a MergeSort method, performed on an array of the attached Person class. This method should sort Person objects alphabetically first by LastName,
Provide implementation for a MergeSort method, performed on an array of the attached Person class.
This method should sort Person objects alphabetically first by LastName, then FirstName, and then again by the Person BirthYear
c#
namespace SearchSortAssignment
public class Person
public string FirstName get;
public string LastName get;
public int BirthYear get;
public Personstring firstName, string lastName, int birthYear
FirstName firstName;
LastName lastName;
BirthYear birthYear;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
