Let $X$ be a connected complex manifold (not necessarily compact). Let $C \subset X$ be a compact complex $k$-dimensional submanifold (for some $k>0$).
Is it true, in this generality, that the homology class $[C] \in H_{2k} (X,\mathbb{Z})$ is non trivial?
EDIT - some motivating observations: a first striking fact in the study of complex manifolds is that there is no analogue of Whitney embedding theorem for compact ones; indeed by the maximum modulus principle $\mathbb{C}^n$ has no compact complex submanifolds. I am not very familiar with complex manifolds of dimension $n>1$ (and of course in dimension $1$ this problem is not very interesting). The examples of compact complex submanifolds I have and can handle (as far as the above problem is concerned) are the following
- the first factor in the product $K \times X$ where $K$ is any compact complex manifold and $X$ any complex manifold
- the base of a vector bundle over a compact manifold $K$
- complex projective subspaces $\mathbb{CP}^k \subseteq \mathbb{CP}^n$
and in these cases it is easy to see that I get something which is non trivial in homology, by quite general facts not really related to complex geometry. Moreover I stumbled upon the fact that there exists many (non algebraic) 2-dimensional tori without compact complex (1-dimensional) submanifolds, as discussed for instance here. This has boosted my impression that if we manage to find a compact complex submanifold, then it must be very special indeed, in some sense. I would like to know if there is some counterexample to the sentence above, or if it can be proved by general methods in complex geometry. I am asking it in that generality also because I am not very familiar with Kähler or algebraic geometry, but of course I appreciate answers under the additional hypothesis that $X$ is compact/projective/Kähler/...