*Subtle* Differences between VB functions and Convert.To* functions?
Posted
by Sung Meister
on Stack Overflow
See other posts from Stack Overflow
or by Sung Meister
Published on 2009-02-19T16:40:07Z
Indexed on
2010/03/08
2:12 UTC
Read the original article
Hit count: 420
While converting types, I have found myself using both VB functions and BCL Convert.To* methods.
E.g.)
Cstr()
vs.Convert.ToString()
CInt()
vs.Convert.ToInt32()
CDbl()
vs.Convert.ToInt64()
- etc...
Are there any subtle differences that should be noted?
© Stack Overflow or respective owner