Cadenza.Collections.Tests.EnumerableTest.RandomValues C# (CSharp) Метод

RandomValues() статический приватный Метод

static private RandomValues ( Random r, int max ) : IEnumerable
r System.Random
max int
Результат IEnumerable
		internal static IEnumerable<int> RandomValues (Random r, int max)
		{
			while (true)
				yield return r.Next (max);
		}
		#endregion
EnumerableTest