protected bool Equals(VideoFilePart other) { return(Number == other.Number && string.Equals(Name, other.Name)); }
public VideoFileName(VideoFilePart section, VideoFilePart lecture) { Section = section ?? throw new ArgumentNullException(nameof(section)); Lecture = lecture ?? throw new ArgumentNullException(nameof(lecture)); }