z = Exp[I t];
    dz = D[z, t];
    Integrate[(1/z) dz, {t, 0, 2 Pi}]

![Mathematica graphics](https://i.sstatic.net/n8egn.png)

The idea is to convert it to complex contour integration.