Let
\(S\) be the unit disk in the plane
\(z=0\) with upward orientation, so
\(\partial S=C\text{.}\) The corresponding
\(1\)-form is
\begin{equation*}
\omega = -y\,dx + x\,dy.
\end{equation*}
\begin{equation*}
d\omega = 2\,dx \wedge dy.
\end{equation*}
So Stokesβ theorem gives
\begin{equation*}
\oint_C (-y\,dx+x\,dy)
=
\int_S 2\,dx \wedge dy
=
2\iint_S dA
=
2\pi.
\end{equation*}
Since
\(\nabla \times \mathbf{F}=\langle 0,0,2 \rangle\text{,}\) the same computation in vector field notation is
\begin{equation*}
\oint_C \mathbf{F}\cdot d\mathbf{r}
=
\iint_S (\nabla \times \mathbf{F})\cdot \vn\,dS
=
2\pi.
\end{equation*}