From 008e763701a64148c2be2cc43c28f859153ef046 Mon Sep 17 00:00:00 2001 From: IlyasValiulov <148232695+IlyasValiulov@users.noreply.github.com> Date: Fri, 17 May 2024 16:15:50 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=B0=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=968=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CollectionGenericObjects/ICollectionGenericObjects.cs | 4 +--- .../CollectionGenericObjects/ListGenericObjects.cs | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ICollectionGenericObjects.cs b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ICollectionGenericObjects.cs index ea88d39..41f74ef 100644 --- a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ICollectionGenericObjects.cs +++ b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ICollectionGenericObjects.cs @@ -1,6 +1,4 @@ -using ProjectWarmlyShip.Drawnings; - -namespace ProjectWarmlyShip.CollectionGenericObjects; +namespace ProjectWarmlyShip.CollectionGenericObjects; public interface ICollectionGenericObjects where T : class diff --git a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs index 76e0b94..d62ddb9 100644 --- a/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs +++ b/ProjectWarmlyShip/ProjectWarmlyShip/CollectionGenericObjects/ListGenericObjects.cs @@ -1,7 +1,4 @@ -using ProjectWarmlyShip.Drawnings; -using ProjectWarmlyShip.Exceptions; -using System.Linq; -using System.Runtime.Serialization; +using ProjectWarmlyShip.Exceptions; namespace ProjectWarmlyShip.CollectionGenericObjects; @@ -84,7 +81,6 @@ public class ListGenericObjects : ICollectionGenericObjects yield return _collection[i]; } } - void ICollectionGenericObjects.CollectionSort(IComparer comparer) { _collection.Sort(comparer);