laba 8 Кувшинов Тимур ПИбд-21 Простая #12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "laba8"
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: laba 8 Кувшинов Тимур ПИбд-21 Простаяto laba 8 Кувшинов Тимур ПИбд-21 ПростаяЗачтено с понижением балла(ов)
@ -0,0 +37,4 @@
}
if (x is DrawingLoco && y is DrawingLoco)
{
if (x.EntityTrain as EntityLoco == null)
Зачем проверка с as, если выше уже есть проверка через is?
@ -0,0 +17,4 @@
}
public bool Equals(TrainsCollectionInfo? other)
{
return Name.Equals(other.Name);
Нет проверки, что other не равен null
Pull request closed