filmov
tv
Difference between Convert.ToString() and ToString() in c#

Показать описание
The difference is Convert. ToString() method handles null whereas the ToString() doesn't handle null in C#. In C# if you declare a string variable and if you don't assign any value to that variable, then by default that variable takes a null value