public int CompareTo(UserScore u) { if (u == null) { return(1); } else { return(this.weekScore.CompareTo(u.weekScore)); } }
public bool Equals(UserScore other) { if (other == null) { return(false); } if (other is UserScore) { return(this.userName.Equals(((UserScore)other).userName)); } else { return(false); } }