My last snippet works for integers from 1 to MaxInt. Try it!
This snippet just tells you how it could be done. How it should be done is entirly up to you to decide.
Another possibility is the use of the SubString method and to concatenate all the substrings together with ",".
I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using ...