//Generate Random Number Here
int ID = 0;
Random ran = new Random();
ID = ran.Next();
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
ProgrammerPosted Apr 24, 2011, 7:00 AM
what if we are working with screen resolution which are initialized as x and y, and we have to place 5 balls of random colors on random positions.