namespace OSMServer; public class Node : Coordinates { private HashSet connections = new HashSet(); public Node(float lat, float lon) : base(lat, lon) { } public void AddConnection(Connection connection) { this.connections.Add(connection); } public Connection[] GetConnections() { return this.connections.ToArray(); } }