add comment to clone method
This commit is contained in:
@@ -58,6 +58,10 @@ public class Lawnmower : ElectricTool
|
||||
_fuelLevel = _fuelCapacity;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Клонирует газонокосилку
|
||||
/// </summary>
|
||||
/// <returns>Клоннированная газонокосилка</returns>
|
||||
public override object Clone()
|
||||
{
|
||||
var lawnmower = new Lawnmower(Name, Material, Weight, Power, FuelCapacity)
|
||||
|
||||
Reference in New Issue
Block a user