Мелкие правки

This commit is contained in:
Evgehil 2024-03-18 11:08:26 +04:00
parent 97f0854999
commit 33559a2fa7
2 changed files with 0 additions and 2 deletions

View File

@ -57,5 +57,4 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
_collection.RemoveAt(position); _collection.RemoveAt(position);
return obj; return obj;
} }
} }

View File

@ -61,7 +61,6 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
return -1; return -1;
} }
public int Insert(T obj, int position) public int Insert(T obj, int position)
{ {
if (position >= _collection.Length || position < 0) return -1; if (position >= _collection.Length || position < 0) return -1;