Table of Contents

Class Boat

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

Constructors

Boat(string, string, int, int, decimal, decimal, decimal)

public Boat(string uuid, string color, int weight, int length, decimal maxWaterDepth, decimal maxSpeed, decimal deplacement)

Parameters

uuid string
color string
weight int
length int
maxWaterDepth decimal
maxSpeed decimal
deplacement decimal

Properties

Deplacement

public decimal Deplacement { get; set; }

Property Value

decimal

MaxSpeed

public decimal MaxSpeed { get; set; }

Property Value

decimal

MaxWaterDepth

public decimal MaxWaterDepth { get; set; }

Property Value

decimal

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