Expl.Itinerary.ListSchedule.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
        public override int GetHashCode()
        {
            int a = 0;

             foreach (var sched in _Schedules) {
            a += sched.GetHashCode();
             }

             return a;
        }

Usage Example

Exemplo n.º 1
0
 public override int GetHashCode()
 {
     return(_Schedule.GetHashCode());
 }