Converting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all, just a quick question - I really should know this :

What the differece, if any, between
Convert.ToString(doubleVariable); an
doubleVariable.ToString()

Thanks people

Jon
 
Convert.ToString(doubleVariable) is just a wrapper, and it's going to call
doubleVariable.ToString() anyway.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top