Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Double Jump and Wall Jump
Some linq examples
Calculator
deqnq the random sentence generator
PayU Lu c#
6.4 Parallelism: threads and events
Linq & lambdas
Tarkov Time
Hex_Base64
my first
Please log in to post a comment.