PIbd-14 ChertovA.A. LabWork6 Simple #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lab06"
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?
Проверено
@ -51,0 +45,4 @@
return null;
}
}
private readonly string _collectionKey = "CollectionsStorage";
Поля объявляются в начале класса
@ -51,0 +72,4 @@
foreach (KeyValuePair<string, ICollectionGenericObjects<T>> value in _storages)
{
StringBuilder sb = new();
sb.Append(Environment.NewLine);
Записывать в файл можно сразу, без использования StringBuilder
@ -18,0 +17,4 @@
{
EntityTrain = new EntityRoadTrain(entityRoadTrain.Speed, entityRoadTrain.Weight, entityRoadTrain.BodyColor, entityRoadTrain.BodyTankColor, entityRoadTrain.WaterTank, entityRoadTrain.CleanBrush);
}
//public DrawningRoadTrain(EntityRoadTrain roadTrain) : base(180, 140)
Закомментированного кода быть не должно
Pull request closed