private static void PrintCoordinates(int x, int y, ConsoleColor textColor) { ConsoleColor oldForegoundColor = Console.ForegroundColor; Console.ForegroundColor = textColor; Console.Write("({0},{1})", x, y); Console.ForegroundColor = oldForegoundColor; }