private static void PrintCoordinates(Point2D point) { ConsoleColor oldForegoundColor = Console.ForegroundColor; Console.ForegroundColor = point.Color; Console.Write("({0},{1})", point.X, point.Y); Console.ForegroundColor = oldForegoundColor; }