how do I show that any hypersurface $D \subset \mathbb{C}^n$ is the defined by a global holomorphic function $f: \mathbb{C}^n \rightarrow \mathbb{C}$?
This is an exercise from Daniel Huybrechts' "Complex Geometry: An Introduction" and there the exercise says one should use the Poincaré lemma to prove this statement.