Class Airplane
- Namespace
- Exercise3
- Assembly
- Exercise3.dll
public class Airplane : Vehicle
- Inheritance
-
Airplane
- Inherited Members
Constructors
Airplane(string, string, int, int, int, decimal, int)
public Airplane(string uuid, string color, int weight, int length, int liftCapacity, decimal wingSpan, int passengers)
Parameters
Properties
LiftCapacity
public int LiftCapacity { get; set; }
Property Value
Passengers
public int Passengers { get; set; }
Property Value
WingSpan
public decimal WingSpan { 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()