Give an example of LINQ Range Method.
Ask by Ethan Karla
Updated 24 Sep 2021
In LINQ, the Range() method is used to generate the list of integers or numbers based on specified values of start index and end index.
Syntax
Example
Output