Table of Contents

Class Garage

Namespace
Exercise3
Assembly
Exercise3.dll
public class Garage
Inheritance
Garage
Inherited Members

Constructors

Garage(int)

public Garage(int capacity)

Parameters

capacity int

Properties

Capacity

public int Capacity { get; }

Property Value

int

Vehicles

public Vehicle[] Vehicles { get; }

Property Value

Vehicle[]

Methods

AddVehicle(Vehicle)

public bool AddVehicle(Vehicle vehicle)

Parameters

vehicle Vehicle

Returns

bool

RemoveVehicle(string)

public bool RemoveVehicle(string uuid)

Parameters

uuid string

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.