I got a function:
$f(x,y)= \begin{cases}\frac{x^3-3\,x\,y^2}{x^2+y^2} &(x,y) \neq 0\\ 0&(x,y) = 0 \end{cases}$
substitution polar coordinates ($x = r\,\cos(\varphi)$, $y = r\,\sin(\varphi)$) I get:
$f(x,y) = r\,\cos(3\,\varphi)$. Supposly this has to be continuous, because:
for $r_n \xrightarrow{} 0$ the function approaches zero: $\underset{n \to \infty}{\lim} r_n \,\cos(3\varphi) = 0$.
However: If I chose $(x_n,y_n) = (\frac{1}{n},\frac{1}{n})\xrightarrow{} (0,0)$, I also get:
$\underset{n\to\infty}{\lim} f(x_n,y_n) = \underset{n\to\infty}{\lim} -\frac{1}{n} = 0 $. Does this also proof continuity at $0$?