Enumerable.Repeat « LINQ « C# / CSharp Tutorial






22.36.Enumerable.Repeat
22.36.1.Using Repeat to generate a sequence that contains the number 7 ten times.
22.36.2.Returning a Sequence of Ten Integers All With the Value Two