There is a theorem in my textbook which says:
Theorem: consider the function $f:\mathbb{R}^2\to\mathbb{R}$ such that both of its partial derivatives at a point exist and at least one of them is continuous, then $f$ is differentiable at that point.
I want to know whether the theorem is true in general for a function $f:\mathbb{R}^n\to\mathbb{R}$, i.e whether the following is true or not:
Consider the function $f:\mathbb{R}^n\to\mathbb{R}$ such that all its partial derivatives exist at a point and at least one of these partial derivatives is continuous at that point,then $f$ is differentiable at that point.