Loading ...

Difference between obj.ToString() vs Convert.ToString(obj) vs (string)obj vs obj as string | CodeAsp.Net

 

Comments (4)

tvance
very helpful thank you! was trying to use the null coalescing operator with .ToString() and kept getting the object not set to an instance of an object error...very frustrating...thanks!
10/7/2009
 · 
 
by
rohit
thanks for the above information........
10/9/2009
 · 
 
by
Najeeb
Najeeb said:
oh. thanks Raghave. It s a great article. Its looks simple but said all the details. Thanks again.
10/22/2009
 · 
 
by
rtpHarry
Excellent explanation Raghav. As I have said before you have a brilliant grasp of the technicalities of the c# language and I am regularly impressed.
2/10/2010
 · 
 
by

Top posts

Raghav Khunger's latest blog posts

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?