top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between .tostring(), Convert.tostring()?

+3 votes
67 views
What is the difference between .tostring(), Convert.tostring()?
posted Jan 23, 2015 by Manikandan J

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

The basic difference between them is “Convert” function handles NULLS while “.ToString()” does not it will throw a NULL reference exception error. So as a good coding practice using “convert” is always safe.

answer Jan 28, 2015 by Shivaranjini
...