public bool Equals(VertexPair pair) { return(First == pair.First && Second == pair.Second); }
public bool Equals(VertexPair pair) { return First == pair.First && Second == pair.Second; }