Its a simple question for experienced C#/Asp.Net developer but its little confusing things for beginner.
Convert.ToString() generally used when we need to handle null value. it meant when data as null and used Convert.ToString() its return blank string.
Convert.ToString() generally used when we need to handle null value. it meant when data as null and used Convert.ToString() its return blank string.
Convert.ToString() handles null, while ToString() doesn't.
0 comments:
Post a Comment