public static void StringSliceIntIntUpToEnd() { string s = "Goodbye"; ReadOnlySpan<char> span = s.Slice(2, s.Length - 2); char[] expected = s.Substring(2).ToCharArray(); span.Validate(expected); }