Cadenza.Collections.Tests.EnumerableTest.RandomValues C# (CSharp) Method

RandomValues() static private method

static private RandomValues ( Random r, int max ) : IEnumerable
r System.Random
max int
return IEnumerable
		internal static IEnumerable<int> RandomValues (Random r, int max)
		{
			while (true)
				yield return r.Next (max);
		}
		#endregion
EnumerableTest