Random Integers in C#IIan21yAsked Oct 27, 2005, 6:31 AM EDT2 answersShareLinkedInXCopy linkSaveHow do I make a code to pick a random integer between 0 and 9?2 AnswersKnow the answer? Post it. Somebody with the same question will find it here.Mahesh ChandRank #1 · 393.4K points21y agoPosted Oct 27, 2005, 12:29 PM EDT0OK I just wrote a How do I on it. Check it here:http://www.csharpcorner.com/Article/frmDisplayArticles.aspx?SectionID=1&SubSectionID=1430Mmustafa3 points21y agoPosted Oct 31, 2005, 6:13 AM EST0using System; class rand_int { public static void Main() { System.Random rnd=new System.Random(); int a = (int) rnd.Next(1,10); Console.WriteLine("number is {0}",a); } }0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign in
Random Integers in C#IIan21yAsked Oct 27, 2005, 6:31 AM EDT2 answersShareLinkedInXCopy linkSaveHow do I make a code to pick a random integer between 0 and 9?
Mahesh ChandRank #1 · 393.4K points21y agoPosted Oct 27, 2005, 12:29 PM EDT0OK I just wrote a How do I on it. Check it here:http://www.csharpcorner.com/Article/frmDisplayArticles.aspx?SectionID=1&SubSectionID=1430
Mmustafa3 points21y agoPosted Oct 31, 2005, 6:13 AM EST0using System; class rand_int { public static void Main() { System.Random rnd=new System.Random(); int a = (int) rnd.Next(1,10); Console.WriteLine("number is {0}",a); } }0
Mahesh ChandRank #1 · 393.4K pointsPosted Oct 27, 2005, 12:29 PM EDT
http://www.csharpcorner.com/Article/frmDisplayArticles.aspx?SectionID=1&SubSectionID=143
mustafa3 pointsPosted Oct 31, 2005, 6:13 AM EST