public Edge(Node <TNode> startNode, Node <TNode> endNode) { mStartNode = startNode; mEndNode = endNode; mStartNode.AddNeighbor(mEndNode); mEndNode.AddNeighbor(mStartNode); }