Table of Contents

Class Bus

Namespace
Exercise3
Assembly
Exercise3.dll
public class Bus : Vehicle
Inheritance
Bus
Inherited Members

Constructors

Bus(string, string, int, int, int, int)

public Bus(string uuid, string color, int weight, int length, int numberOfSeats, int wheels)

Parameters

uuid string
color string
weight int
length int
numberOfSeats int
wheels int

Properties

NumberOfSeats

public int NumberOfSeats { get; set; }

Property Value

int

Wheels

public int Wheels { get; set; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToString2()

public override string ToString2()

Returns

string

ToStringTypeSpec()

public string ToStringTypeSpec()

Returns

string