i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference between .Tostring() and Convert.ToString()
12-16-2013, 07:12 AM (This post was last modified: 12-16-2013 07:13 AM by Lalithdotnetobject.)
Post: #1
Difference between .Tostring() and Convert.ToString()
Convert.Tostring() handles null values while .ToString() not.

It is better to use Convert.Tostring() instead of .Tostring() when there is a possibility of null values.


Quote




User(s) browsing this thread: 1 Guest(s)