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
Given modern C# supporting indices, ranges, etc; it would make sense for path to implement ReadOnlyList. GetStepWithStart is a very rare exception to the rule and that function could remain as is, however I propose the following API:
classPath:IReadOnlyList<Point>{publicPointthis[intindex]=>/* Index of point not including start */public int Count =>/* Length not including start */// GetStepWithStart could remain, so could Length. GetStep itself could be removed or marked as deprecated.}
The text was updated successfully, but these errors were encountered:
Given modern C# supporting indices, ranges, etc; it would make sense for path to implement
ReadOnlyList
.GetStepWithStart
is a very rare exception to the rule and that function could remain as is, however I propose the following API:The text was updated successfully, but these errors were encountered: