Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var devs = new Developer[]
new Developer("Dawid"),
new Developer("Mark"),
new Developer("John"),
new Developer("Alice"),
new Developer("Kate")
foreach (var dev in devs[1..^2]) // prints "MarkJohn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment