Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
No repeat test
//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) { //Your code goes here Random rand = new Random(); HashSet<int> list = new HashSet<int>(); for (int i =0; i<100; i++) { list.Add(rand.Next(1,40)); } foreach (var item in list) { Console.WriteLine(item); } } } }
run
|
edit
|
history
|
help
0
Accessit SalaryCalculation
octalofint
C# queue
Fórum ➡ GroupJoin'ing Books and Orders ♦
eg
cff
DateTime Subtract TotalDays
Rijndael AES key generator C#
ArithmeticOperations
Finding occurances of a value in the elements of a list