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
Properties
CubicInch
public int CubicInch { get; set; }
Property Value
Wheels
public int Wheels { get; set; }
Property Value
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
ToStringTypeSpec()
public string ToStringTypeSpec()