ProgrammerGuide.Net | Step by Step Programmer Guide

.Net Interview Question: What is the difference between Convert.ToString and .ToString() method? | Programming Tutorial | Step by Step Programmer Guide

We can convert the integer i using i.ToString() or Convert.ToString so what is the difference. The basic difference between them is Convert function handles NULLS while i.ToString() does not it will throw a NULL reference exception error. So as a good coding practice using convert is always safe.

Please click here for related products on Amazon!


Add comment

Want to Check Celebrities News?