From 0814cf30f2a4b9bc9015a5ba9ac09d5e1f4b4753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=9C=D0=B0=D0=BB?= =?UTF-8?q?=D0=B0=D1=84=D0=B5=D0=B5=D0=B2?= Date: Mon, 18 Dec 2023 16:29:41 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cruiser/Generics/SetGeneric.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cruiser/Generics/SetGeneric.cs b/Cruiser/Generics/SetGeneric.cs index 421b098..1be782d 100644 --- a/Cruiser/Generics/SetGeneric.cs +++ b/Cruiser/Generics/SetGeneric.cs @@ -41,7 +41,7 @@ namespace Cruiser.Generics /// /// Добавляемый лайнер /// - public bool Insert(T cruiser, IEqualityComparer? equal = null) //починил код, работал неправильно, переделал на инт + public bool Insert(T cruiser, IEqualityComparer? equal = null) //починил код, работал неправильно { if (_places.Count >= _maxCount) { @@ -69,7 +69,7 @@ namespace Cruiser.Generics /// Добавляемый автомобиль /// Позиция /// - public bool Insert(T cruiser, int position, IEqualityComparer? equal = null) //починил код, работал неправильно, переделал на инт + public bool Insert(T cruiser, int position, IEqualityComparer? equal = null) //починил код, работал неправильно { if (position < 0 || position > Count) throw new CruiserNotFoundException(position);