Wednesday, October 27, 2010

What is the different between .toSting & Convert.ToString() ?

In short, almost no different
as the runtime of them is very close (but in fact, .toString is a little bit fast then Convert.ToString())
btw, Convert.ToString() can handle null value while .toSting can not (it will return Error)

No comments:

Post a Comment