ex-int-02-meet-the-teacher/MeetTheTeacher/Model/Comparison/ByRoomComparer.cs
github-classroom[bot] 1be1863b20
Initial commit
2025-04-24 07:02:41 +00:00

14 lines
365 B
C#

namespace MeetTheTeacher.Model.Comparison;
/// <summary>
/// Compares <see cref="Teacher"/> instances by their room, sorting in ascending order
/// </summary>
/// <inheritdoc cref="IComparer{Teacher}"/>
public sealed class ByRoomComparer : IComparer<Teacher>
{
public int Compare(Teacher? x, Teacher? y)
{
// TODO
return -1;
}
}