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
Properties
NumberOfSeats
public int NumberOfSeats { 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()