Convert.ToString() vs .ToString()
Different between Convert.ToString() vs .ToString()
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suthish NairRank #92 · 22.8K reputationPosted Mar 22, 2016, 1:54 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Mar 22, 2016, 1:55 AM EDT
Saillesh PawarRank #537 · 4.5K reputationPosted Mar 22, 2016, 1:56 AM EDT
Vivek KumarRank #272 · 9.3K reputationPosted Mar 22, 2016, 2:02 AM EDT
Convert.ToString()handlesnull, whileToString()doesn't. So it will throw a NULL reference exception error. So as good coding practice usingconvertis always safe.