Search code examples
c#type-conversiontostring

Difference between Convert.ToString() and .ToString()


What is the difference between Convert.ToString() and .ToString()?

I found many differences online, but what's the major difference?


Solution

  • Convert.ToString() handles null, while ToString() doesn't.