PIBD-13_Marinenkova_V.A._LabWork07_Base #7

Closed
marva wants to merge 3 commits from LabWork07 into LabWork06
Showing only changes of commit fa6661bfce - Show all commits

View File

@ -56,7 +56,7 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
public T? Get(int position)
{
if (position < 0 || position >= Count) throw new PositionOutOfCollectionException();
if (position < 0 || position >= Count) throw new PositionOutOfCollectionException(position);
return _collection[position];
}