PIbd-11_Gorskov_E.M._LabWork04_Simple #4
@ -57,5 +57,4 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
|
||||
_collection.RemoveAt(position);
|
||||
return obj;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -61,7 +61,6 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
public int Insert(T obj, int position)
|
||||
{
|
||||
if (position >= _collection.Length || position < 0) return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user