Here's Prob. 8. Sec. 7 in Topology by James R. Munkres, 2nd edition:
Let $X$ denote the two element set $\{0,1\}$; let $\mathscr{B}$ be the set of countable subsets of $X^{\omega}$. Show that $X^{\omega}$ and $\mathscr{B}$ have the smae cardinality.
Here $X^{\omega}$ denotes the set of all infinite binary sequences (i.e., the set of all the functions each with domain the set $\mathbb{N}$ of natural numbers and range a (non-empty) subset of $\{0,1\}$).
My effort:
Using the Schroeder Bernstein theorem, our aim is to show the existence of injective maps $f \colon X^{\omega} \to \mathscr{B}$ and $g \colon \mathscr{B} \to X^{\omega}$.
We can define $f$ as follows: $$f(s) \colon= \{s\} \ \mbox{ for all } \ s \in X^{\omega}.$$
How do we define our desired map $g$?
Suppose I have a countable sequence $C=(S_n)_{n\in\omega}$ of infinite binary sequences - say, $S_n=(a_i^n)_{i\in\mathbb{N}}$. I can view $C$ as an $\omega$-by-$\omega$ array of $0$s and $1$s. Can you see how to turn an $\omega$-by-$\omega$ array into an infinite sequence? (HINT: why is $\mathbb{N}^2\cong\mathbb{N}$?)
OK, fine, the above was talking about countable sequences of elements of $X^\omega$. But how does the set of countable subsets compare to the set of countable sequences?