private static void GetXY(ref double x, ref double y, Coordinate coord){ x = coord.X; y = coord.Y;}private static (double, double) GetXY(Coordinate coord){ return (coord.X, coord.Y);}