Hi,
Can someone teach me how can i write a program that Generating a Random Number between 1 to 200 and Display the result in a textbox.
I just learn C# so can someone please help me!
Desmond
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Scott LyslePosted Oct 28, 2006, 11:06 PM
Hello:
rn = new Random(); int i;Random
i = rn.Next(200);
textBox1.Text = i.ToString();
Scott Lysle