PIBD-13_Baryshev_D.A._LabWork08_Base #8

Closed
xysiboi wants to merge 2 commits from LabWork08 into LabWork07
Owner
No description provided.
xysiboi added 1 commit 2024-06-09 16:10:14 +04:00
xysiboi added 1 commit 2024-06-09 18:26:52 +04:00
eegov approved these changes 2024-06-09 22:01:01 +04:00
eegov left a comment
Collaborator

Проверено

Проверено
@ -65,3 +66,4 @@
throw new CollectionOverflowException(Count);
}
for (int i = 0; i < Count; i++)
Collaborator

У списка есть метод Contains для проверки

У списка есть метод Contains для проверки
@ -0,0 +34,4 @@
if (x is DrawningDumpTruck && y is DrawningDumpTruck)
{
// TODO доделать логику сравнения дополнительных параметров
if ((x.EntityTruck as EntityDumpTruck)?.AdditionalColor !=
Collaborator

Зачем неоднократные вызовы as, если выше уже есть проверка через is?

Зачем неоднократные вызовы as, если выше уже есть проверка через is?
eegov closed this pull request 2024-06-09 22:01:07 +04:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xysiboi/PIBD-13_Baryshev_D.A._Base#8
No description provided.