PIbd-11_Zubkova_S.V._LabWork08_Simple #8

Closed
sonyaz wants to merge 1 commits from LabWork08 into LabWork07
Owner
No description provided.
sonyaz added 1 commit 2024-05-22 22:03:39 +04:00
eegov approved these changes 2024-05-25 09:09:42 +04:00
eegov left a comment
Collaborator

Проверено

Проверено
@ -0,0 +42,4 @@
if (x is DrawingGasolineTanker && y is DrawingGasolineTanker)
{
// логика сравнения дополнительных параметров
if ((x.EntityTruck as EntityGasolineTanker).AdditionalColor != (y.EntityTruck as EntityGasolineTanker).AdditionalColor)
Collaborator

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

Зачем неоднократные вызовы as, если выше уже есть проверка через is?
eegov closed this pull request 2024-05-25 09:09:52 +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: sonyaz/PIbd-11_Zubkova_S.V._Simple#8
No description provided.