System.Linq.Tests.WhereTests.GenerateRandomSequnce C# (CSharp) 메소드

GenerateRandomSequnce() 개인적인 정적인 메소드

private static GenerateRandomSequnce ( uint seed, int count ) : IEnumerable
seed uint
count int
리턴 IEnumerable
        private static IEnumerable<int> GenerateRandomSequnce(uint seed, int count)
        {
            var random = new Random((int)seed);

            for (int i = 0; i < count; i++)
            {
                yield return random.Next(int.MinValue, int.MaxValue);
            }
        }
    }
WhereTests