Table of Contents

Class Vehicle

Namespace
Exercise3
Assembly
Exercise3.dll
public class Vehicle
Inheritance
Vehicle
Derived
Inherited Members

Constructors

Vehicle()

public Vehicle()

Vehicle(string, string, int, int, string)

public Vehicle(string uuid, string color, int weight, int length, string type = "")

Parameters

uuid string
color string
weight int
length int
type string

Properties

Color

public string Color { get; set; }

Property Value

string

Length

public int Length { get; set; }

Property Value

int

Type

public string Type { get; }

Property Value

string

Uuid

public string? Uuid { get; set; }

Property Value

string

Weight

public int Weight { 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 virtual string ToString2()

Returns

string