CollectionExt.ThrowIfInvalidIndexes Method

Overload List

NameDescription
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32[]) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.
Public methodStatic memberThrowIfInvalidIndexes<T>(IReadOnlyCollection<T>, Int32, Int32, Int32) Throws an exception if any of the given indexes is out of a IReadOnlyCollection<T> bounds.

See Also

Reference

CollectionExt Class
UltimateXR.Extensions.System.Collections Namespace