-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDriver.cs
More file actions
44 lines (38 loc) · 919 Bytes
/
Driver.cs
File metadata and controls
44 lines (38 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Timer
{
public class Driver
{
private Int32 number;
private String name;
private String vehicle;
public Driver(Int32 number, String name, String vehicle)
{
this.number = number;
this.name = name;
this.vehicle = vehicle;
}
public Int32 Number
{
get { return this.number; }
set { this.number = value; }
}
public String NumberString
{
get { return this.number.ToString(); }
}
public String Name
{
get { return this.name; }
set { this.name = value; }
}
public String Vehicle
{
get { return this.vehicle; }
set { this.vehicle = value; }
}
}
}