PIBD-12_Morozov_D.V. LabWork№5 #16

Closed
MorozovDanil wants to merge 11 commits from Lab5_base into Lab4_base
Showing only changes of commit ae7cb8a058 - Show all commits

View File

@ -52,15 +52,7 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
public bool Insert(T obj)
{
for (int i = 0; i < Count; i++)
{
if (_collection[i] == null)
{
_collection[i] = obj;
return true;
}
}
return false;
return Insert(obj, 0);
}
public bool Insert(T obj, int position)