Give an example of the LINQ Repeat Method.
Give an example of the LINQ Repeat Method.
Student
An enthusiastic, adaptive, and fast-learning person with a broad and acute interest in the discovery of new innovative drugs, I particularly enjoy collaborating with scientists from different disciplines to develop new skills and solve new challenges.
The 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