лабораторная 3

This commit is contained in:
Vladislav_396ntk 2024-04-15 12:30:38 +04:00
parent 92f30977af
commit 5f5f61f51b

View File

@ -29,7 +29,6 @@
} }
return null; return null;
} }
public int Insert(T obj) public int Insert(T obj)
{ {
for (int i = 0; i < Count; i++) for (int i = 0; i < Count; i++)
@ -41,7 +40,6 @@
} }
return -1; return -1;
} }
public int Insert(T obj, int position) public int Insert(T obj, int position)
{ {
//todo Проверка позиции //todo Проверка позиции
@ -68,7 +66,6 @@
} }
return -1; return -1;
} }
public T? Remove(int position) public T? Remove(int position)
{ {
if(position >= 0 && position < Count) if(position >= 0 && position < Count)