Putilin P. A. LabWork 7 #8

Closed
Pavel wants to merge 4 commits from LabWork7 into LabWork6
Showing only changes of commit d5e461cf6b - Show all commits

View File

@ -46,7 +46,7 @@
/// <param name="airplane">Добавляемый самолет</param>
/// <param name="position">Позиция</param>
/// <returns></returns>
public int Insert(T warplane, int position)
public int Insert(T airplane, int position)
{
if (Count == _maxCount)
throw new StorageOverflowException(_maxCount);
@ -54,7 +54,7 @@
{
return -1;
}
_places.Insert(position, warplane);
_places.Insert(position, airplane);
return position;
}
/// <summary>