Лабараторная работа №8 2
This commit is contained in:
parent
c137f81fa8
commit
008e763701
@ -1,6 +1,4 @@
|
|||||||
using ProjectWarmlyShip.Drawnings;
|
namespace ProjectWarmlyShip.CollectionGenericObjects;
|
||||||
|
|
||||||
namespace ProjectWarmlyShip.CollectionGenericObjects;
|
|
||||||
|
|
||||||
public interface ICollectionGenericObjects<T>
|
public interface ICollectionGenericObjects<T>
|
||||||
where T : class
|
where T : class
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using ProjectWarmlyShip.Drawnings;
|
using ProjectWarmlyShip.Exceptions;
|
||||||
using ProjectWarmlyShip.Exceptions;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.Serialization;
|
|
||||||
|
|
||||||
namespace ProjectWarmlyShip.CollectionGenericObjects;
|
namespace ProjectWarmlyShip.CollectionGenericObjects;
|
||||||
|
|
||||||
@ -84,7 +81,6 @@ public class ListGenericObjects<T> : ICollectionGenericObjects<T>
|
|||||||
yield return _collection[i];
|
yield return _collection[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ICollectionGenericObjects<T>.CollectionSort(IComparer<T?> comparer)
|
void ICollectionGenericObjects<T>.CollectionSort(IComparer<T?> comparer)
|
||||||
{
|
{
|
||||||
_collection.Sort(comparer);
|
_collection.Sort(comparer);
|
||||||
|
Loading…
Reference in New Issue
Block a user