6 лаба готовая

This commit is contained in:
кристина лаврова 2024-08-29 21:16:30 +04:00
parent 339f080d5a
commit 6fbcfc7488
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public abstract class AbstractCompany
_pictureWidth = picWidth;
_pictureHeight = picHeight;
_collection = collection;
_collection.SetMaxCount = GetMaxCount;
_collection.MaxCount = GetMaxCount;
}
/// <summary>
/// Перегрузка оператора сложения для класса

View File

@ -41,6 +41,7 @@ public class MassiveGenericObjects<T> : ICollectionGenericObjects<T>
public int SetMaxCount { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
/// <summary>
/// Конструктор
/// </summary>