Give an example of the LINQ Repeat Method.
Give an example of the LINQ Repeat Method.
574
24-Sep-2021
Ravi Vishwakarma
28-Sep-2021The Repeat method is used to generate a collection or list with the same number as repeated times based on specified index values.
Syntax
Example
Output