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
Hi.
I would like to suggest a throw extension to integer values to check if the integer is within the range of a given collection.
At the moment (as far as I know), I have to write 0 for min-value and collection.Count - 1 for max value.
The text was updated successfully, but these errors were encountered:
i'm not sure if this is implemented already, but i think it should be the other way round, i.e. the collection should check if the index value is within its range.
Hi.
I would like to suggest a throw extension to integer values to check if the integer is within the range of a given collection.
At the moment (as far as I know), I have to write
0
for min-value andcollection.Count - 1
for max value.The text was updated successfully, but these errors were encountered: