PIBD-13_Baryshev_D.A._LabWork08_Base #8
Loading…
x
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?
Проверено
@ -65,3 +66,4 @@
throw new CollectionOverflowException(Count);
}
for (int i = 0; i < Count; i++)
У списка есть метод Contains для проверки
@ -0,0 +34,4 @@
if (x is DrawningDumpTruck && y is DrawningDumpTruck)
{
// TODO доделать логику сравнения дополнительных параметров
if ((x.EntityTruck as EntityDumpTruck)?.AdditionalColor !=
Зачем неоднократные вызовы as, если выше уже есть проверка через is?
Pull request closed