Let $x$ be a number such that $10000x+2=4$. What is the value of $5000x+1$?

$\textbf{(A) }{-}1\qquad\textbf{(B) }0\qquad\textbf{(C) }1\qquad\textbf{(D) }2\qquad\textbf{(E) }3$
1. Start with the given equation:
   \[
   10000x + 2 = 4
   \]

2. Subtract 2 from both sides to isolate the term with \(x\):
   \[
   10000x + 2 - 2 = 4 - 2
   \]
   \[
   10000x = 2
   \]

3. Divide both sides by 10000 to solve for \(x\):
   \[
   x = \frac{2}{10000}
   \]
   \[
   x = \frac{1}{5000}
   \]

4. Now, we need to find the value of \(5000x + 1\). Substitute \(x = \frac{1}{5000}\) into the expression:
   \[
   5000x + 1 = 5000 \left(\frac{1}{5000}\right) + 1
   \]
   \[
   5000x + 1 = 1 + 1
   \]
   \[
   5000x + 1 = 2
   \]

Conclusion:
\[
\boxed{2}
\]