Last active
February 11, 2019 17:14
-
-
Save dsibinski/1065a08b53aa7b0e5eb9ca19a3285f19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var array = new[] { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H' }; | |
Console.WriteLine($"{array[^3]}"); // prints "F" (3rd element from the end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment