We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IEnumerable to arrays. We can do this by just adding it to the array base class.
The text was updated successfully, but these errors were encountered:
Is this the ask? Or did you want a special enumerator class that did something else?
in https://github.com/itinero/reminiscence/blob/develop/src/Reminiscence/Arrays/ArrayBase.cs
/// <summary> /// Implements <see cref="IEnumerable{T}"/> /// </summary> /// <returns></returns> public IEnumerator<T> GetEnumerator() { for (long i = 0; i < Length; ++i) yield return this[i]; } /// <summary> /// Implements <see cref="IEnumerable"/> /// </summary> /// <returns></returns> IEnumerator IEnumerable.GetEnumerator() { return GetEnumerator(); }
Perhaps also some unit tests?
Sorry, something went wrong.
#21
I think this issue can be closed unless you needed something else for this to be completed. Just LMK
No branches or pull requests
Add IEnumerable to arrays. We can do this by just adding it to the array base class.
The text was updated successfully, but these errors were encountered: