Difference between Convert.ToString() and ToString()

Options
- Convert.ToString() handles null values but ToString() doesn't
- ToString() output as per format supplied
- Convert.ToString() only handles null values
- ToString() handles null values but Convert.ToString() doesn't


CORRECT ANSWER : Convert.ToString() handles null values but ToString() doesn't

Discussion Board
"Doesn't" not "Don't"

Please use proper english so we can have a better feeling about getting knowledge from this site.

Bad spelling makes us suspicious that this is a trustworthy source of knowledge.

Ben 02-6-2017 06:09 PM

grammer

Convert.ToString() handles null values but ToString() doesn't

kyle eden 11-17-2016 01:09 PM

.net

Yeah its avg. But some what this is good. So,in my view we can prepare multiple questions

Ganesh 12-25-2014 02:44 AM

c#

Bcz convert.ToString only convert any type of string to num and num to string
but ToString acept a string.....

shehnawaj 09-1-2014 03:11 AM

Write your comments

 
   
 
 

Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement