Лабараторная работа №8 2

This commit is contained in:
IlyasValiulov 2024-05-17 16:15:50 +04:00
parent c137f81fa8
commit 008e763701
2 changed files with 2 additions and 8 deletions

View File

@ -1,6 +1,4 @@
using ProjectWarmlyShip.Drawnings;
namespace ProjectWarmlyShip.CollectionGenericObjects;
namespace ProjectWarmlyShip.CollectionGenericObjects;
public interface ICollectionGenericObjects<T>
where T : class

View File

@ -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<T> : ICollectionGenericObjects<T>
yield return _collection[i];
}
}
void ICollectionGenericObjects<T>.CollectionSort(IComparer<T?> comparer)
{
_collection.Sort(comparer);