In the sample data below I need to find how many TransitMapSegmentIDs match TransitLine's 10803 TransitMapSegmentIDs, which would be 2 since 101 and 102 match.
I've been looking at this for a few hours and I'm a little cross eyed and would appreciate some help. Thanks!
public class TransitLineSegment
{
public int TransitLineID { get; set; }
public string TransitLineName { get; set; }
public int TransitMapSegmentID { get; set; }
public string HexColor { get; set; }
public double[][] Coordinates { get; set; }
public int Width { get; set; }
}
sample data
TransitMapSegmentID TransitLineID
101 10803
102 10803
64 10807
67 10807
101 10807
102 10807