;

Tags: String Articles


Difference Between Convert.ToString() and .ToString() Method in C#

Tutorialsrack 10/12/2020 C#

In this article, you will learn what is the difference between Convert.ToString() and .ToString() method in C#. Both methods are used to convert a string. But, yes, there is a difference between both the method and the main difference between both the methods is that Convert.ToString() method handles the NULL whereas the .ToString() method does not handle the NULL and throws a NULL reference exception.

Read More..
Recent Posts
Tags