-
Notifications
You must be signed in to change notification settings - Fork 0
/
Customer.cs
43 lines (38 loc) · 852 Bytes
/
Customer.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GridBeforePrint
{
class Customer
{
private string firstName;
private string lastName;
private int id;
public int Id
{
get { return id; }
set
{
id = value;
}
}
public string LastName
{
get { return lastName; }
set { lastName = value; }
}
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
public Customer() { }
public Customer(string firstName, string lastName, int id)
{
FirstName = firstName;
LastName = lastName;
Id = id;
}
}
}