diff --git a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs index 9174a17..18f2c09 100644 --- a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs +++ b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs @@ -1,6 +1,4 @@ -using System; - -namespace ProjectWarmlyShip.CollectionGenericObjects; +namespace ProjectWarmlyShip.CollectionGenericObjects; public class ListGenericObjects : ICollectionGenericObjects where T : class @@ -34,7 +32,7 @@ public class ListGenericObjects : ICollectionGenericObjects // TODO вставка в конец набора if (Count == _maxCount) return -1; _collection.Add(obj); - return Count;//возможна проблема + return Count; } public int Insert(T obj, int position) {