Merge branch 'lab4' into lab5

This commit is contained in:
Marselchi 2023-11-24 15:34:23 +04:00
commit d732ad2663

View File

@ -70,7 +70,7 @@ namespace Liner.Generics
/// <returns></returns>
public bool Remove(int position)
{
if(_places.Count >= position && position >= 0)
if(_places.Count > position && position >= 0)
{
_places.RemoveAt(position);
return true;