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(); } + /// /// Конструктор ///