Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
random number generator using array
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int[] randomNum = new int[52]; Random RandomNumber = new Random(); for ( int i = 0; i<52; i++) { randomNum[i] = RandomNumber.Next(1, 52); } foreach (int j in randomNum) { Console.WriteLine("The Number is :{0}", j); } Console.Read(); } } }
run
|
edit
|
history
|
help
0
credentials
RRR
Using Yield Return to mass copy a Class instance
Pramod
CommandForce2
I know it's a bit combersome, but it's my first attempt.
stockSeries
occurance of charecter
Enum Extension
tst