Class Garage
- Namespace
- Exercise3
- Assembly
- Exercise3.dll
public class Garage
- Inheritance
-
Garage
- Inherited Members
Constructors
Garage(int)
public Garage(int capacity)
Parameters
capacityint
Properties
Capacity
public int Capacity { get; }
Property Value
Vehicles
public Vehicle[] Vehicles { get; }
Property Value
- Vehicle[]
Methods
AddVehicle(Vehicle)
public bool AddVehicle(Vehicle vehicle)
Parameters
vehicleVehicle
Returns
RemoveVehicle(string)
public bool RemoveVehicle(string uuid)
Parameters
uuidstring
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.