проверка

This commit is contained in:
MorozovDanil 2024-04-15 02:07:48 +04:00
parent 419dee846e
commit a8e14cb111

View File

@ -10,7 +10,7 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
/// <summary> /// <summary>
/// Массив объектов, которые храним /// Массив объектов, которые храним
/// </summary> /// </summary>
private T?[] _collection; private T?[] _collection;
public int Count => _collection.Length; public int Count => _collection.Length;
@ -52,7 +52,7 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
public int Insert(T obj) public int Insert(T obj)
{ {
return Insert(obj, 0); return Insert(obj, 0);
} }
public int Insert(T obj, int position) public int Insert(T obj, int position)