Evaluate $\lim_{n\to\infty}\int^2_0\dfrac{dx}{1+x^{2n}}$
First, I find $f(x):=\lim_{n\to\infty}\dfrac{dx}{1+x^{2n}}$ \begin{align} 0&\leq x\leq 2\\ 0&\leq x^{2n}\leq 2^{2n}\\ \dfrac{1}{1+2^{2n}}&\leq \dfrac{1}{1+x^{2n}}\leq 1\\ \end{align} By the squeeze lemma, $f_n\to 1$ as $n\to 0\implies f(x)=1$
Also, $\lVert f_n\rVert_\infty$ is bounded since: \begin{align} \lVert f_n\rVert_\infty&=\sup_{[0,2]}\left\lvert \dfrac{1}{1+x^{2n}}\right\rvert\\ -1&\leq\dfrac{1}{1+2^{2n}}\leq \dfrac{1}{1+x^{2n}}\leq 1\implies \left\lvert \dfrac{1}{1+x^{2n}}\right\rvert\leq1 \end{align} Additionally, $f_n$ and $f$ are integrable on $[1,2]$ Now, by the dominated convergence theorem, we can swap the limit and the integration and hence, $$\lim_{n\to\infty}\int^2_0\dfrac{dx}{1+x^{2n}}= \int^2_0f(x) dx=\int^2_0 dx=2 $$
Note that for $x \in [0,2]$ the function $\frac{1}{1+x^{2n}}$ is strictly decreasing, so it attains its maximum value at $x=0$ for all $n$, and we can apply the bounded convergence theorem instead (Which is a bit easier.)
Also, you should look at the limit again. When $x<1$ the function tends to $1$, when $x>1$, it tends to $0$, and $x=1$, it is $\frac{1}{2}$, but this is a set of measure zero.