상속: IRandomNumbersPrinter
예제 #1
0
        public static void Main()
        {
            var randomInstancesWithTheSameSeed = new RandomInstancesWithTheSameSeed(4);
            randomInstancesWithTheSameSeed.PrintRandomNumbers();

            Console.WriteLine(new string('=', 50));

            var highQualityRandomNumbers = new HighQualityRandomNumbers(4);
            highQualityRandomNumbers.PrintRandomNumbers();
        }
예제 #2
0
        public static void Main()
        {
            var randomInstancesWithTheSameSeed = new RandomInstancesWithTheSameSeed(4);

            randomInstancesWithTheSameSeed.PrintRandomNumbers();

            Console.WriteLine(new string('=', 50));

            var highQualityRandomNumbers = new HighQualityRandomNumbers(4);

            highQualityRandomNumbers.PrintRandomNumbers();
        }