Converting an integer to a string.
-
I have the following code: int numAmt; string preFix; numAmt = 10; preFix = numAmt.ToString(); How come I can't convert the intger 10 to string '10' using the ToString function provided by the .NET framwork? Quecumber256
-
I have the following code: int numAmt; string preFix; numAmt = 10; preFix = numAmt.ToString(); How come I can't convert the intger 10 to string '10' using the ToString function provided by the .NET framwork? Quecumber256
-
I have the following code: int numAmt; string preFix; numAmt = 10; preFix = numAmt.ToString(); How come I can't convert the intger 10 to string '10' using the ToString function provided by the .NET framwork? Quecumber256
Quecumber256 wrote:
How come I can't convert the intger 10 to string '10' using the ToString function provided by the .NET framwork?
Good question why you can't. Your C# code works just fine for me. C# Discussion Board[^]
Mark Salsbery Microsoft MVP - Visual C++ :java: