From 6fbcfc748814198672440bcf1b88236c14c178dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BA=D1=80=D0=B8=D1=81=D1=82=D0=B8=D0=BD=D0=B0=20=D0=BB?= =?UTF-8?q?=D0=B0=D0=B2=D1=80=D0=BE=D0=B2=D0=B0?= Date: Thu, 29 Aug 2024 21:16:30 +0400 Subject: [PATCH] =?UTF-8?q?6=20=D0=BB=D0=B0=D0=B1=D0=B0=20=D0=B3=D0=BE?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=D0=B0=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- solution/lab1/CollectionGenericObjects/AbstractCompany.cs | 2 +- solution/lab1/CollectionGenericObjects/MassiveGenericObjects.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/solution/lab1/CollectionGenericObjects/AbstractCompany.cs b/solution/lab1/CollectionGenericObjects/AbstractCompany.cs index 04e7849..3720195 100644 --- a/solution/lab1/CollectionGenericObjects/AbstractCompany.cs +++ b/solution/lab1/CollectionGenericObjects/AbstractCompany.cs @@ -39,7 +39,7 @@ public abstract class AbstractCompany _pictureWidth = picWidth; _pictureHeight = picHeight; _collection = collection; - _collection.SetMaxCount = GetMaxCount; + _collection.MaxCount = GetMaxCount; } /// /// Перегрузка оператора сложения для класса diff --git a/solution/lab1/CollectionGenericObjects/MassiveGenericObjects.cs b/solution/lab1/CollectionGenericObjects/MassiveGenericObjects.cs index f69188c..1980391 100644 --- a/solution/lab1/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/solution/lab1/CollectionGenericObjects/MassiveGenericObjects.cs @@ -41,6 +41,7 @@ public class MassiveGenericObjects : ICollectionGenericObjects public int SetMaxCount { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + /// /// Конструктор ///