-
Type:
New Feature
-
Resolution: Won't Do
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: LINQ3
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
C# 8 introduced new syntax to index from the end of an array:
var last = array[^1];
The C# compiler translates ^ into an Index object. We would need to support new overloads for array access, IEnumerable.ElementAt(Index), and related methods.
More details on the C#8 syntax can be found here: