C
COHENMARVIN
I tried the following:
int myInt;
MessageBox.Show(myInt);
But this does not work, because a string is expected. How do I
convert myInt to a string? I tried myInt.toString and that is not
accepted, and neither is (string) myInt.
Another thing I tried was:
String MyString;
MyString = "Hello"
MessageBox.Show(MyString[3]);
And this also does not work, because a char cannot be converted to a
string.
But there must be a way to display these.
Thanks,
Marvin
int myInt;
MessageBox.Show(myInt);
But this does not work, because a string is expected. How do I
convert myInt to a string? I tried myInt.toString and that is not
accepted, and neither is (string) myInt.
Another thing I tried was:
String MyString;
MyString = "Hello"
MessageBox.Show(MyString[3]);
And this also does not work, because a char cannot be converted to a
string.
But there must be a way to display these.
Thanks,
Marvin