From 11a3265248173af7cf843d9ba7ef38af8011c9a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BC=D0=B0?= Date: Fri, 30 Aug 2024 02:28:04 +0400 Subject: [PATCH] x --- .../CollectionGenericObjects/AbstractCompany.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs index 2669826..1ec39e7 100644 --- a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs +++ b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/AbstractCompany.cs @@ -56,11 +56,11 @@ namespace ProjectLocomotive.CollectionGenericObjects /// Перегрузка оператора сложения для класса /// /// Компания - /// Добавляемый объект + /// Добавляемый объект /// - public static int operator +(AbstractCompany company, DrawningLocomotive сruiser) + public static int operator +(AbstractCompany company, DrawningLocomotive locomotive) { - return company._collection.Insert(сruiser); + return company._collection.Insert(locomotive); } ///