"Potential IOOBException"

	const int ArraySize = 10;

	public static void Main() {
		var intArray = new[ArraySize] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
		var arraySubrange = intArray[0..ArraySize];
		var lastElement = intArray[^ArraySize];
	}


Code snippet taken from "C# 8 Concerns".