J
John Bailo
In Visual Studio.2003 I set up two command line arguments in the Project
Properties.
The arguments are
XFER 63
Written just like that.
If I example the value of args[1] it shows its equal to 63. Now I want
to capture that value in an int. So I do this:
int TransferID = Convert.ToInt32(args[1].ToString());
However, the value of TransferID ends up being 0x3f
Why?
Properties.
The arguments are
XFER 63
Written just like that.
If I example the value of args[1] it shows its equal to 63. Now I want
to capture that value in an int. So I do this:
int TransferID = Convert.ToInt32(args[1].ToString());
However, the value of TransferID ends up being 0x3f
Why?