I've just taught this in my graduate class. Check these notes on intersection theory.
The result you want is contain in Thm. 4.7. Again, you need $2\dim S=\dim X$.
I've just taught this in my graduate class. Check these notes on intersection theory.
The result you want is contain in Thm. 4.7. Again, you need $2\dim S=\dim X$.