Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C# Structs
#4
Beres Wrote:Simple enough lol. Now, sometimes it says it cant put a string to a int, so I have to convert it. Im doing Convert.ToInt32() and all that. My question is, what is different about the Convert.ToString() compared to the blah.blah.ToString?

Is there no specific data type for strings? I've never really used C# so I'm a bit ignorant, but isn't declaring it as an int declaring it as an integer? Instead would you not declare it as a string?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)