лабораторная 3
This commit is contained in:
parent
92f30977af
commit
5f5f61f51b
@ -29,7 +29,6 @@
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public int Insert(T obj)
|
||||
{
|
||||
for (int i = 0; i < Count; i++)
|
||||
@ -41,7 +40,6 @@
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public int Insert(T obj, int position)
|
||||
{
|
||||
//todo Проверка позиции
|
||||
@ -68,7 +66,6 @@
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public T? Remove(int position)
|
||||
{
|
||||
if(position >= 0 && position < Count)
|
||||
|
Loading…
Reference in New Issue
Block a user