Table of Contents

Class Motorcycle

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

Constructors

Motorcycle(string, string, int, int, int, int)

public Motorcycle(string uuid, string color, int weight, int length, int cubicInch, int wheels)

Parameters

uuid string
color string
weight int
length int
cubicInch int
wheels int

Properties

CubicInch

public int CubicInch { 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