Concept:
Logarithms obey several important laws which simplify complicated expressions. One of the most frequently used logarithmic identities is
\[
\log_a m+\log_a n=\log_a(mn).
\]
This property allows us to combine two logarithmic terms having the same base into a single logarithm. After combining the logarithms, we can convert the logarithmic equation into exponential form and solve it directly.
Whenever a logarithmic equation contains only one logarithm after simplification, converting to exponential form is generally the most efficient method.
Step 1: Write the given equation.
We are given
\[
\log_a2+\log_a5=1.
\]
Step 2: Apply the logarithmic addition property.
Using
\[
\log_a m+\log_a n=\log_a(mn),
\]
we obtain
\[
\log_a(2\times5)=1.
\]
Hence,
\[
\log_a(10)=1.
\]
Step 3: Convert the logarithmic equation into exponential form.
The statement
\[
\log_a(10)=1
\]
means
\[
a^1=10.
\]
Step 4: Simplify.
Since any number raised to the power \(1\) remains unchanged,
\[
a=10.
\]
Step 5: Verification.
Substituting \(a=10\),
\[
\log_{10}2+\log_{10}5
=
\log_{10}(10)
=
1.
\]
The given condition is satisfied.
Step 6: Final Conclusion.
Therefore,
\[
\boxed{a=10}
\]
Hence the correct answer is
\[
\boxed{\text{Option (B)}}.
\]