What is the difference between Convert.ToString()
and .ToString()
?
I found many differences online, but what's the major difference?
ベストアンサー1
Convert.ToString()
handles null
, while ToString()
doesn't.
What is the difference between Convert.ToString()
and .ToString()
?
I found many differences online, but what's the major difference?
Convert.ToString()
handles null
, while ToString()
doesn't.