Details
-
New Feature
-
Resolution: Won't Do
-
Unknown
-
None
-
None
-
None
Description
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: