The Range Structure is introduced in C# 8.0. It represents a range that has a start and end indexes. You are allowed to a Range object starting from the first element of the specified collection or sequence to a specified end index with the help of EndAt() Method provided by the Range structure. Or in other words, EndAt() method returns a range that starts from the first element of the given collection and ends to the specified index.
public static Range EndAt(Index end);
Here, the Index end represents the end index.
Range_1: 2..4 Range_2: 1..10 Range_3: 0..6
Range: 0..5 Numbers:     
- How to Create a Range From a Specified Start in C#?
- How to create the ArrayList in C#
- C# | How to create a Stack
- How to create the StringBuilder in C#
- How to create a Queue in C#
- C# | How to create a SortedSet
- How to create a StringDictionary in C#
- How to create a ListDictionary in C#
- How to create a StringCollection in C#
- How to create an OrderedDictionary in C#
- How to create Threads in C#
- C# | How to create a SortedList
- How to create 5-ValueTuple in C#?
- How to create 3-ValueTuple in C#?
- How to create 6-Tuple in C#?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.