Counting arrangements
Multiplying the choices at each stage counts ordered arrangements, $n!$ of $n$ things and $n(n-1)\cdots(n-k+1)$ of $k$ taken from $n$, which is enough to find the chance that two of $23$ people share a birthday.
From Probability.