January 2012
Intermediate to advanced
396 pages
8h 16m
English
Follow the given steps:
StringBuilder bigRandomNumber = new StringBuilder();
List<string> allRandomNumbers = new List<string>();
for (int i = 0; i < 5; i++)
{
bigRandomNumber = new StringBuilder();
Algorithms.NCopiesOf(10, new Random())
.Select(c => c.Next(100).ToString("000"))
.ToList()
.ForEach
(
c => bigRandomNumber.Append(c.ToString())
);
allRandomNumbers.Add(bigRandomNumber.ToString());
System.Threading.Thread.Sleep(20);
}
allRandomNumbers.Dump("5 Random Numbers");If you notice carefully, you will see that all of these numbers are ...
Read now
Unlock full access