Difference between Convert.ToString() and ToString()

added by DotNetKicks
10/20/2017 1:12:27 PM

2 Kicks, 364 Views

In this post, we will explain the difference between .ToString() and Convert.ToString() methods in C#. The basic difference between them is " Convert.ToString()" handles NULL values while ".ToString() " doesn't. Which means if the variable being passed to Convert.ToString() is NULL, it won't throw an exception.