From 592fd5bea50d8223cef0835e72cd2dc1b985c9e7 Mon Sep 17 00:00:00 2001 From: sqdselo Date: Mon, 29 Apr 2024 12:00:25 +0400 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BE=D1=82=D0=BE=D0=B2=D0=B0=D1=8F=20?= =?UTF-8?q?=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=BD?= =?UTF-8?q?=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=204?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionGenericObjects/ListGenericObjects.cs | 4 +--- .../CollectionGenericObjects/MassivGenericObjects.cs | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs b/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs index f379030..26db41d 100644 --- a/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs +++ b/HoistingCrane/HoistingCrane/CollectionGenericObjects/ListGenericObjects.cs @@ -1,5 +1,6 @@ using System; using System.CodeDom.Compiler; +using System.Windows.Forms.VisualStyles; namespace HoistingCrane.CollectionGenericObjects { @@ -24,7 +25,6 @@ namespace HoistingCrane.CollectionGenericObjects { get { return list.Count; } } - public int SetMaxCount { set @@ -42,8 +42,6 @@ namespace HoistingCrane.CollectionGenericObjects if (position >= Count || position < 0) return null; return list[position]; } - - public int Insert(T obj) { // TODO проверка, что не превышено максимальное количество элементов diff --git a/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs b/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs index 8d32f37..cff3630 100644 --- a/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs +++ b/HoistingCrane/HoistingCrane/CollectionGenericObjects/MassivGenericObjects.cs @@ -73,7 +73,6 @@ namespace HoistingCrane.CollectionGenericObjects } return -1; - } public T? Remove(int position)