I'd like to prove that $\mathrm{card}(2^{\mathbb{N}})=\mathrm{card}(\mathbb{N}^\mathbb{N})$, I have the following 'sketch' but I'm not sure if this works.
$|2^{\mathbb{N}}|\leq|\mathbb{N}^{\mathbb{N}}|\leq|2^\mathbb{N^{\mathbb{N}}}|=|2^{\mathbb{N}\times\mathbb{N}}|=|2^\mathbb{N}|$, then $|2^{\mathbb{N}}|=|\mathbb{N}^\mathbb{N}|$
I'm taking for granted the first inequality, (i.e: $|2^{\mathbb N}|\leq|\mathbb{N}^{\mathbb{N}}|$), could be done a further proof about this. Would it be enough to point out that the functions in $2^{\mathbb{N}}$ are in $\mathbb{N}^{\mathbb{N}}$ but there are functions in the last one that are not in the first one? Should I try to give a more formal proof?