I have an given set $S$ where $S=$ set of finite subsets of $\mathbb{N}.$ We need to prove $S$ is countably infinite.
My approach: I need to prove there is one-to-one correspondence between $S$ and ${\mathbb{N}}.$
Suppose $S = \{\{1,2,3\}, \{1,3,4,5\},\{4,5\}, \{\emptyset\},.............\} =\{f_1,f_2,f_3,f_4..............\}$where $f_i\subseteq\mathbb{N}.$
$\mathbb{N}=\{1,2,3,4...... ..............\}$
Now $1$ map to $f_1,$$2$ map to $f_2,$ $3$ map to $f_3..........$ and so on. Now apply Cantor diagonalisation theorem $f'=\{2,3.............\}$ where $2$ comes from $f_2$ because $2\notin f_2,$$3$ comes from $f_3$ because $3\notin f_3...........$ and so on, $f'$ is different from $f_i.$ $f'$ isn't covered in bijection. $f:\mathbb{N}\to S$ isn't bijection.
So $S$ is uncountable. Where did I wrong don't understand?