You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .NET 6.0 System.String.Remove was updated (dotnet/runtime#50094) to support values of startIndex equal to the length of the string. Before both methods would throw an exception in such cases, currently they both simply return this.
The article not only doesn't mention that change but implies in Remarks that the old behaviour is still true.