ISEbd-12_Frolova.A.S._LabWork08_Simple #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "LabWork08"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: ISEbd-12_Frolova.A.S._LabWork08_Simpleto ISEbd-12_Frolova.A.S._LabWork08_SimpleПроверено
@ -0,0 +38,4 @@
public int Insert(T obj, IEqualityComparer<T?>? comparer = null)
{
if (Count == _maxCount) throw new CollectionOverflowException(Count);
if (comparer != null)
У списка есть метод Contains для проверки
@ -0,0 +40,4 @@
}
if (x is DrawningCatamaran && y is DrawningCatamaran)
{
if (((EntityCatamaran)x.EntityBoat).AdditionalColor !=
Зачем неоднократные преобразования, что мешает сделать это один раз?
Pull request closed